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 {
22 enum class trace_level {
24 off = 0,
26 error = 1,
28 warning = 2,
30 info = 3,
32 verbose = 4,
33 };
34 }
35}
36
40};
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
trace_level
Specifies what messages to output for the debug, trace and trace_switch classes.
Definition trace_level.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:36