Contains trace_listener definitions.
Go to the source code of this file.
Data Structures | |
struct | xtd_diagnostics_trace_listener |
Defines the trace_listener object. More... | |
Converter | |
#define | XTD_DIAGNOSTICS_TRACE_LISTENER(object) (XTD_TYPE_CAST(object, XTD_DIAGNOSTICS_TRACE_LISTENER_TYPE, xtd_diagnostics_trace_listener)) |
Convert an xtd object to trace_listener object. More... | |
uint32_t xtd_diagnostics_trace_listener_get_indent_level | ( | xtd_diagnostics_trace_listener * | listener | ) |
Gets the indent level.
uint32_t xtd_diagnostics_trace_listener_get_indent_size | ( | xtd_diagnostics_trace_listener * | listener | ) |
Gets the number of spaces in an indent.
const char* xtd_diagnostics_trace_listener_get_name | ( | xtd_diagnostics_trace_listener * | listener | ) |
Gets or sets a name for this TraceListener.
xtd_diagnostics_trace_options xtd_diagnostics_trace_listener_get_trace_output_options | ( | xtd_diagnostics_trace_listener * | listener | ) |
Gets the trace output options.
bool xtd_diagnostics_trace_listener_is_thread_safe | ( | xtd_diagnostics_trace_listener * | listener | ) |
Gets a value indicating whether the trace listener is thread safe.
void xtd_diagnostics_trace_listener_set_indent_level | ( | xtd_diagnostics_trace_listener * | listener, |
uint32_t | indent_level | ||
) |
Sets the indent level.
indent_level | The indent level. The default is zero. |
void xtd_diagnostics_trace_listener_set_indent_size | ( | xtd_diagnostics_trace_listener * | listener, |
uint32_t | indent_size | ||
) |
Sets the number of spaces in an indent.
int32 | The number of spaces in an indent. The default is four spaces. |
void xtd_diagnostics_trace_listener_set_name | ( | xtd_diagnostics_trace_listener * | listener, |
const char * | name | ||
) |
Sets a name for this TraceListener.
name | A name for this TraceListener. The default is an empty string (""). |
void xtd_diagnostics_trace_listener_set_trace_output_options | ( | xtd_diagnostics_trace_listener * | listener, |
xtd_diagnostics_trace_options | trace_output_options | ||
) |
Sets the trace output options.
trace_output_options | A bitwise combination of the enumeration values. The default is None. |