10 namespace diagnostics {
48 explicit operator auto()
const noexcept {
return xtd::enum_collection<xtd::diagnostics::trace_options> {{
xtd::diagnostics::trace_options::none,
"none"}, {
xtd::diagnostics::trace_options::logical_operation_stack,
"logical_operation_stack"}, {
xtd::diagnostics::trace_options::date_time,
"date_time"}, {
xtd::diagnostics::trace_options::timestamp,
"timestamp"}, {
xtd::diagnostics::trace_options::process_id,
"process_id"}, {
xtd::diagnostics::trace_options::thread_id,
"thread_id"}, {
xtd::diagnostics::trace_options::callstack,
"callstack"}};}
Represents an instant in time, typically expressed as a date and time of day.
Definition date_time.h:85
trace_options
Specifies trace data options to be written to the trace output.
Definition trace_options.h:25
@ none
Do not write any elements.
@ logical_operation_stack
Write the logical operation stack, which is represented by the return value of the CorrelationManager...
@ callstack
Write the call stack, which is represented by the return value of the Environment....
@ process_id
Write the process identity, which is represented by the return value of the Process....
@ date_time
Write the date and time.
@ timestamp
Write the timestamp, which is represented by the return value of the GetTimestamp method.
@ thread_id
Write the thread identity, which is represented by the return value of the Thread....
#define flags_attribute_(namespace_name, enum_type)
Provides the set attribute struct for enumerations helper.
Definition flags_attribute.h:34
std::vector< xtd::collections::generic::key_value_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.h:22
The xtd::diagnostics namespace provides classes that allow you to interact with system processes,...
Definition assert_dialog_result.h:10
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:38