![]() |
xtd - Reference Guide
0.1.1
Modern c++17/20 framework to create console, GUI and unit test applications on Windows, macOS, Linux, iOS and android.
|
The xtd::diagnostics namespace provides classes that allow you to interact with system processes, event logs, and performance counters.
Classes | |
| class | boolean_switch |
| Provides a simple on/off switch that controls debugging and tracing output. More... | |
| class | console_trace_listener |
| Directs tracing or debugging output to either the standard output or the standard error stream. More... | |
| class | data_received_event_args |
| Provides data for the xtd::diagnostics::process::output_data_received and xtd::diagnostics::process::error_data_received events. More... | |
| class | debug |
| Provides a set of methods and properties that help you debug the execution of your code. This class cannot be inherited. More... | |
| class | debugger |
| Enables communication with a debugger. This class cannot be inherited. More... | |
| class | default_trace_listener |
| Provides the default output methods and behavior for tracing. More... | |
| class | event_type_filter |
| Indicates whether a listener should trace based on the event type. More... | |
| class | ostream_trace_listener |
| Directs tracing or debugging output to a std::ostream, such as std::fstream, std::stream... More... | |
| class | process |
| Provides access to local and remote processes and enables you to start and stop local system processes. More... | |
| class | process_start_info |
| Specifies a set of values that are used when you start a process. More... | |
| class | source_filter |
| Indicates whether a listener should trace a message based on the source of a trace. More... | |
| class | source_switch |
| Provides a multilevel switch to control tracing and debug output without recompiling your code. More... | |
| class | stack_frame |
| Provides information about a xtd::diagnostics::stack_frame, which represents a function call on the call stack for the current thread. More... | |
| class | stack_trace |
| Represents a stack trace, which is an ordered collection of one or more stack frames. More... | |
| class | stopwatch |
| Provides a set of methods and properties that you can use to accurately measure elapsed time. More... | |
| class | switch_base |
| Provides an abstract base class to create new debugging and tracing switches. More... | |
| class | trace |
| Provides a set of methods and properties that help you debug the execution of your code. This class cannot be inherited. More... | |
| class | trace_event_cache |
| Provides trace event data specific to a thread and a process. More... | |
| class | trace_filter |
| Provides the base class for trace filter implementations. More... | |
| class | trace_listener |
| Provides the abstract base class for the listeners who monitor trace and debug output. More... | |
| class | trace_listener_collection |
| Represents a collection of xtd::diagnostics::trace_listener. More... | |
| class | trace_source |
| Provides a set of methods and properties that enable applications to trace the execution of code and associate trace messages with their source. More... | |
| class | trace_switch |
| Provides a multilevel switch to control tracing and debug output without recompiling your code. More... | |
Alias | |
| using | data_received_event_handler = xtd::delegate< void(object &sender, const xtd::diagnostics::data_received_event_args &e)> |
| Represents the method that will handle the xtd::diagnostics::process::output_data_received and xtd::diagnostics::process::error_data_received event of a Process. More... | |
Enumerations | |
| enum class | assert_dialog_result { abort , retry , ignore } |
| Specifies identifiers to indicate the return value of an assert dialog box. More... | |
| enum class | process_priority_class { normal , idle , high , real_time , below_normal , above_normal } |
| Indicates the priority that the system associates with a process. This value, together with the priority value of each thread of the process, determines each thread's base priority level. More... | |
| enum class | process_window_style { normal , hidden , minimized , maximized } |
| Specified how a new window should appear when the system starts a process. More... | |
| enum class | source_levels { all , off , critical , error , warning , information , verbose , activity_tracing } |
| Specifies the levels of trace messages filtered by the source switch and event type filter. This enumeration has a flags attribute that allows a bitwise combination of its member values. More... | |
| enum class | trace_event_type { critical , error , warning , information , verbose , start , stop , suspend , resume , transfer } |
| Identifies the type of event that has caused the trace. More... | |
| enum class | trace_level { off , error , warning , info , verbose } |
| Specifies what messages to output for the debug, trace and trace_switch classes. More... | |
| enum class | trace_options { none , logical_operation_stack , date_time , timestamp , process_id , thread_id , callstack } |
| Specifies trace data options to be written to the trace output. More... | |
Functions | |
| std::ostream & | operator<< (std::ostream &os, xtd::diagnostics::trace_event_type value) |
| std::ostream & | operator<< (std::ostream &os, xtd::diagnostics::trace_level value) |
| std::wostream & | operator<< (std::wostream &os, xtd::diagnostics::trace_event_type value) |
| std::wostream & | operator<< (std::wostream &os, xtd::diagnostics::trace_level value) |