52 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"}};}
Contains enum_ and enum_ut_ keywords.
std::vector< std::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.hpp:24
trace_event_type
Identifies the type of event that has caused the trace.
Definition trace_event_type.hpp:25
@ verbose
Debugging trace.
Definition trace_event_type.hpp:35
@ suspend
Suspension of a logical operation.
Definition trace_event_type.hpp:41
@ resume
Resumption of a logical operation.
Definition trace_event_type.hpp:43
@ warning
Warning Noncritical problem.
Definition trace_event_type.hpp:31
@ critical
Fatal error or application crash.
Definition trace_event_type.hpp:27
@ transfer
Changing of correlation identity.
Definition trace_event_type.hpp:45
@ information
Informational message.
Definition trace_event_type.hpp:33
@ error
Recoverable error.
Definition trace_event_type.hpp:29
@ start
Starting of a logical operation.
Definition trace_event_type.hpp:37
@ stop
Stopping of a logical operation.
Definition trace_event_type.hpp:39
@ verbose
Allows critical, error, warning, information, and verbose events through.
Definition source_levels.hpp:37
@ warning
Allows critical, error, and warning events through.
Definition source_levels.hpp:33
@ critical
Allows only Critical events through.
Definition source_levels.hpp:29
@ information
Allows Critical, error, warning, and information events through.
Definition source_levels.hpp:35
@ error
Allows critical and error events through.
Definition source_levels.hpp:31
The xtd::diagnostics namespace provides classes that allow you to interact with system processes,...
Definition assert_dialog_result.hpp:10
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition abstract_object.hpp:8
Provides the registration struct for enumerations.
Definition enum_register.hpp:38