10 namespace diagnostics {
39 all = 0b1111111111111111,
48 explicit operator auto()
const noexcept {
return xtd::enum_collection<xtd::diagnostics::source_levels> {{
xtd::diagnostics::source_levels::off,
"off"}, {
xtd::diagnostics::source_levels::critical,
"critical"}, {
xtd::diagnostics::source_levels::error,
"error"}, {
xtd::diagnostics::source_levels::warning,
"warning"}, {
xtd::diagnostics::source_levels::information,
"information"}, {
xtd::diagnostics::source_levels::verbose,
"verbose"}, {
xtd::diagnostics::source_levels::activity_tracing,
"activity_tracing"}, {
xtd::diagnostics::source_levels::all,
"all"}};}
The xtd::diagnostics namespace provides classes that allow you to interact with system processes...
Definition: assert_dialog_result.h:10
The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
Definition: system_report.h:17
source_levels
Specifies the levels of trace messages filtered by the source switch and event type filter...
Definition: source_levels.h:23
std::vector< std::pair< enum_t, xtd::ustring > > enum_collection
Represents a pair of an enum_t value and a string of an enum of type enum_t.
Definition: enum_collection.h:19
Allows critical and error events through.
Allows critical, error, and warning events through.
Allows the stop, start, suspend, transfer, and resume events through.
Allows Critical, error, warning, and information events through.
#define flags_attribute_(namespace_name, enum_type)
Provides the set attribute struct for enumerations helper.
Definition: flags_attribute.h:34
Allows all events through.
Does not allow any events through.
Allows only Critical events through.
Provides the registration struct for enumerations.
Definition: enum_register.h:36
Allows critical, error, warning, information, and verbose events through.