xtd 0.2.0
trace_options.hpp
Go to the documentation of this file.
1
4#pragma once
5#include "../enum.hpp"
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};
Contains enum_ and enum_ut_ keywords.
trace_options
Specifies trace data options to be written to the trace output.
Definition trace_options.hpp:25
@ none
Do not write any elements.
Definition trace_options.hpp:27
@ logical_operation_stack
Write the logical operation stack, which is represented by the return value of the CorrelationManager...
Definition trace_options.hpp:29
@ callstack
Write the call stack, which is represented by the return value of the Environment....
Definition trace_options.hpp:39
@ process_id
Write the process identity, which is represented by the return value of the Process....
Definition trace_options.hpp:35
@ date_time
Write the date and time.
Definition trace_options.hpp:31
@ timestamp
Write the timestamp, which is represented by the return value of the GetTimestamp method.
Definition trace_options.hpp:33
@ thread_id
Write the thread identity, which is represented by the return value of the Thread....
Definition trace_options.hpp:37
#define flags_attribute_(namespace_name, enum_type)
Provides the set attribute struct for enumerations helper.
Definition flags_attribute.hpp:34
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
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