xtd 0.2.0
Loading...
Searching...
No Matches

◆ level() [1/2]

xtd::diagnostics::trace_level xtd::diagnostics::trace_switch::level ( ) const
noexcept

Gets the trace level that determines the messages the switch allows.

Returns
One of the xtd::diagnostics::trace_level values that specifies the level of messages that are allowed by the switch.
Remarks
Setting this property updates the xtd::diagnostics::trace_switch::trace_error, xtd::diagnostics::trace_switch::trace_warning, xtd::diagnostics::trace_switch::trace_info, and xtd::diagnostics::trace_switch::trace_verbose properties to reflect the new value.