xtd 0.2.0
trace_event_type.h
Go to the documentation of this file.
1 #pragma once
5 #include "../enum.h"
6 
8 namespace xtd {
10  namespace diagnostics {
23  enum class trace_event_type {
25  critical = 0b1,
27  error = 0b10,
29  warning = 0b100,
31  information = 0b1000,
33  verbose = 0b10000,
35  start = 0b100000000,
37  stop = 0b1000000000,
39  suspend = 0b10000000000,
41  resume = 0b100000000000,
43  transfer = 0b1000000000000,
44  };
45  }
46 }
47 
49 template<> struct xtd::enum_register<xtd::diagnostics::trace_event_type> {
51 };
Stopping of a logical operation.
The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
Definition: system_report.h:17
Warning Noncritical problem.
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
Resumption of a logical operation.
Starting of a logical operation.
Suspension of a logical operation.
Allows only Critical events through.
Changing of correlation identity.
Provides the registration struct for enumerations.
Definition: enum_register.h:36
trace_event_type
Identifies the type of event that has caused the trace.
Definition: trace_event_type.h:23
Allows critical, error, warning, information, and verbose events through.