xtd 0.2.0
trace_level.h
Go to the documentation of this file.
1 #pragma once
5 #include "../enum.h"
6 
8 namespace 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 
38 template<> struct xtd::enum_register<xtd::diagnostics::trace_level> {
40 };
The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
Definition: system_report.h:17
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
Output warnings and error-handling messages.
Output informational messages, warnings, and error-handling messages.
trace_level
Specifies what messages to output for the debug, trace and trace_switch classes.
Definition: trace_level.h:22
Does not allow any events through.
Output error-handling messages.
Provides the registration struct for enumerations.
Definition: enum_register.h:36
Allows critical, error, warning, information, and verbose events through.