xtd 0.2.0
Loading...
Searching...
No Matches

◆ trace_options

Specifies trace data options to be written to the trace output.

enum class trace_options
trace_options
Specifies trace data options to be written to the trace output.
Definition trace_options.h:25
Header
#include <xtd/diagnostics/trace_options>
Namespace
xtd::diagnostics
Library
xtd.core
Remarks
This enumeration is used by trace listeners to determine which options, or elements, should be included in the trace output. Trace listeners store the trace options in the trace_output_options property.
Enumerator
none 

Do not write any elements.

logical_operation_stack 

Write the logical operation stack, which is represented by the return value of the CorrelationManager.LogicalOperationStack property.

date_time 

Write the date and time.

timestamp 

Write the timestamp, which is represented by the return value of the GetTimestamp method.

process_id 

Write the process identity, which is represented by the return value of the Process.Id property.

thread_id 

Write the thread identity, which is represented by the return value of the Thread.ManagedThreadId property for the current thread.

callstack 

Write the call stack, which is represented by the return value of the Environment.StackTrace property.