10 namespace diagnostics {
50 explicit operator auto()
const noexcept {
return xtd::enum_collection<xtd::diagnostics::trace_event_type> {{
xtd::diagnostics::trace_event_type::critical,
"critical"}, {
xtd::diagnostics::trace_event_type::error,
"error"}, {
xtd::diagnostics::trace_event_type::information,
"information"}, {
xtd::diagnostics::trace_event_type::resume,
"resume"}, {
xtd::diagnostics::trace_event_type::start,
"start"}, {
xtd::diagnostics::trace_event_type::stop,
"stop"}, {
xtd::diagnostics::trace_event_type::suspend,
"suspend"}, {
xtd::diagnostics::trace_event_type::transfer,
"transfer"}, {
xtd::diagnostics::trace_event_type::verbose,
"verbose"}, {
xtd::diagnostics::trace_event_type::warning,
"warning"}};}
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_event_type
Identifies the type of event that has caused the trace.
Definition trace_event_type.h:23
@ verbose
Debugging trace.
@ suspend
Suspension of a logical operation.
@ resume
Resumption of a logical operation.
@ warning
Warning Noncritical problem.
@ critical
Fatal error or application crash.
@ transfer
Changing of correlation identity.
@ information
Informational message.
@ error
Recoverable error.
@ start
Starting of a logical operation.
@ stop
Stopping of a logical operation.
@ verbose
Allows critical, error, warning, information, and verbose events through.
@ warning
Allows critical, error, and warning events through.
@ critical
Allows only Critical events through.
@ information
Allows Critical, error, warning, and information 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