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

◆ trace_error()

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

Gets a value indicating whether the switch allows error-handling messages.

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