10  namespace diagnostics {
 
   41      all = 0b1111111111111111,
 
   50  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"}};}
 
#define flags_attribute_(namespace_name, enum_type)
Provides the set attribute struct for enumerations helper.
Definition flags_attribute.hpp:34
 
source_levels
Specifies the levels of trace messages filtered by the source switch and event type filter....
Definition source_levels.hpp: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.hpp: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.hpp:10
 
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.hpp:10
 
Provides the registration struct for enumerations.
Definition enum_register.hpp:38