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 {
23 enum class source_levels {
25 off = 0,
27 critical = 0b1,
29 error = 0b11,
31 warning = 0b111,
33 information = 0b1111,
35 verbose = 0b11111,
37 activity_tracing = 0b1111111100000000,
39 all = 0b1111111111111111,
40 };
41 }
42}
43
46
49};
#define flags_attribute_(namespace_name, enum_type)
Provides the set attribute struct for enumerations helper.
Definition flags_attribute.h:34
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
source_levels
Specifies the levels of trace messages filtered by the source switch and event type filter....
Definition source_levels.h:23
@ 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:36