xtd 0.2.0
Loading...
Searching...
No Matches
trace_level.h
Go to the documentation of this file.
1
4#pragma once
5#include "../enum.h"
6
8namespace xtd {
10 namespace diagnostics {
24 enum class trace_level {
26 off = 0,
28 error = 1,
30 warning = 2,
32 info = 3,
34 verbose = 4,
35 };
36 }
37}
38
42};
trace_level
Specifies what messages to output for the debug, trace and trace_switch classes.
Definition trace_level.h:24
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
Output all debugging and tracing messages.
@ off
Output no tracing and debugging messages.
@ warning
Output warnings and error-handling messages.
@ info
Output informational messages, warnings, and error-handling messages.
@ error
Output error-handling messages.
@ verbose
Allows critical, error, warning, information, and verbose events through.
@ off
Does not allow any events through.
@ warning
Allows critical, error, and warning events through.
@ error
Allows critical and error events through.
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