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

◆ trace_warning()

bool xtd::diagnostics::trace_switch::trace_warning ( ) const
noexcept

Gets a value indicating whether the switch allows warning messages.

Returns
true if the xtd::diagnostics::trace_switch::level property is set to xtd::diagnostics::trace_level::warning, xtd::diagnostics::trace_level::info, or xtd::diagnostics::trace_level::verbose; otherwise, false.