xtd 0.2.0
Loading...
Searching...
No Matches
source_levels.h
Go to the documentation of this file.
1
4#pragma once
5#include "../enum.h"
6
8namespace xtd {
10 namespace diagnostics {
25 enum class source_levels {
27 off = 0,
29 critical = 0b1,
31 error = 0b11,
33 warning = 0b111,
35 information = 0b1111,
37 verbose = 0b11111,
39 activity_tracing = 0b1111111100000000,
41 all = 0b1111111111111111,
42 };
43 }
44}
45
48
51};
#define flags_attribute_(namespace_name, enum_type)
Provides the set attribute struct for enumerations helper.
Definition flags_attribute.h:34
source_levels
Specifies the levels of trace messages filtered by the source switch and event type filter....
Definition source_levels.h:25
std::vector< xtd::collections::generic::key_value_pair< enum_t, xtd::string > > enum_collection
Represents a pair of an enum_t value and a string of an enum of type enum_t.
Definition enum_collection.h:22
@ verbose
Allows critical, error, warning, information, and verbose events through.
@ off
Does not allow any events through.
@ activity_tracing
Allows the stop, start, suspend, transfer, and resume events through.
@ warning
Allows critical, error, and warning events through.
@ critical
Allows only Critical events through.
@ all
Allows all events through.
@ information
Allows Critical, error, warning, and information events through.
@ error
Allows critical and error events through.
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,...
Definition xtd_about_box.h:10
Provides the registration struct for enumerations.
Definition enum_register.h:38