xtd 0.2.0
trace_options.h
Go to the documentation of this file.
1 #pragma once
5 #include "../enum.h"
6 
8 namespace xtd {
10  namespace diagnostics {
23  enum class trace_options {
25  none = 0,
29  date_time = 0b10,
31  timestamp = 0b100,
33  process_id = 0b1000,
35  thread_id = 0b10000,
37  callstack = 0b100000
38  };
39  }
40 }
41 
44 
45 template<> struct xtd::enum_register<xtd::diagnostics::trace_options> {
47 };
Write the logical operation stack, which is represented by the return value of the CorrelationManager...
The xtd::diagnostics namespace provides classes that allow you to interact with system processes...
Definition: assert_dialog_result.h:10
Write the thread identity, which is represented by the return value of the Thread.ManagedThreadId property for the current thread.
The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
Definition: system_report.h:17
trace_options
Specifies trace data options to be written to the trace output.
Definition: trace_options.h:23
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
Represents an instant in time, typically expressed as a date and time of day.
Definition: date_time.h:78
Write the call stack, which is represented by the return value of the Environment.StackTrace property.
Write the process identity, which is represented by the return value of the Process.Id property.
Do not write any elements.
#define flags_attribute_(namespace_name, enum_type)
Provides the set attribute struct for enumerations helper.
Definition: flags_attribute.h:34
Write the timestamp, which is represented by the return value of the GetTimestamp method...
Provides the registration struct for enumerations.
Definition: enum_register.h:36