xtd 0.2.0
Loading...
Searching...
No Matches
trace_options.h
Go to the documentation of this file.
1
4#pragma once
5#include "../enum.h"
6
8namespace xtd {
10 namespace diagnostics {
25 enum class trace_options {
27 none = 0,
31 date_time = 0b10,
33 timestamp = 0b100,
35 process_id = 0b1000,
37 thread_id = 0b10000,
39 callstack = 0b100000
40 };
41 }
42}
43
46
49};
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