10 namespace diagnostics {
20 all = 0b1111111111111111,
49 inline std::ostream& operator<<(std::ostream& os,
xtd::diagnostics::source_levels value) {
return os <<
to_string(value, {{
diagnostics::source_levels::all,
"all"}, {
diagnostics::source_levels::off,
"off"}, {
diagnostics::source_levels::critical,
"critical"}, {
diagnostics::source_levels::error,
"error"}, {
diagnostics::source_levels::warning,
"warning"}, {
diagnostics::source_levels::information,
"information"}, {
diagnostics::source_levels::verbose,
"verbose"}, {
diagnostics::source_levels::activity_tracing,
"activity_tracing"}});}
50 inline std::wostream& operator<<(std::wostream& os,
xtd::diagnostics::source_levels value) {
return os <<
to_string(value, {{
diagnostics::source_levels::all, L
"all"}, {
diagnostics::source_levels::off, L
"off"}, {
diagnostics::source_levels::critical, L
"critical"}, {
diagnostics::source_levels::error, L
"error"}, {
diagnostics::source_levels::warning, L
"warning"}, {
diagnostics::source_levels::information, L
"information"}, {
diagnostics::source_levels::verbose, L
"verbose"}, {
diagnostics::source_levels::activity_tracing, L
"activity_tracing"}});}
source_levels
Specifies the levels of trace messages filtered by the source switch and event type filter....
Definition source_levels.h:18
std::string to_string(const value_t &value, const std::string &fmt, const std::locale &loc)
Convert a specified value into a string with specified format and locale.
Definition to_string.h:37
@ verbose
Allows critical, error, warning, information, and verbose events through.
@ off
Does not allow any events through.
@ activity_tracing
Allows the stop, start, suspend, transfer, and resume events through.
@ warning
Allows critical, error, and warning events through.
@ critical
Allows only Critical events through.
@ all
Allows all events through.
@ information
Allows Critical, error, warning, and information events through.
@ error
Allows critical and error events through.
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition system_report.h:17