5 #include "../optional.h" 11 namespace diagnostics {
98 void enabled(
bool enabled);
108 void on_value_changed()
override;
113 mutable std::optional<bool> enabled_;
The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
Definition: system_report.h:17
Represents text as a sequence of UTF-8 code units.
Definition: ustring.h:46
Provides a simple on/off switch that controls debugging and tracing output.
Definition: boolean_switch.h:48
Contains xtd::diagnostics::switch_base class.
Provides an abstract base class to create new debugging and tracing switches.
Definition: switch_base.h:34