xtd - Reference Guide  0.2.0
Modern c++17/20 framework to create console, GUI and unit test applications on Windows, macOS, Linux, iOS and android.
console_trace_listener.h
Go to the documentation of this file.
1 #pragma once
5 #include <iostream>
7 
9 namespace xtd {
11  namespace diagnostics {
22  public:
29  console_trace_listener(bool use_error_stream);
30 
31  private:
33  };
34  }
35 }
The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
Definition: system_report.h:17
Directs tracing or debugging output to either the standard output or the standard error stream...
Definition: console_trace_listener.h:21
Directs tracing or debugging output to a std::ostream, such as std::fstream, std::stream...
Definition: ostream_trace_listener.h:18
Contains xtd::diagnostics::ostream_trace_listener listener.
console_trace_listener()
Initializes a new instance of the xtd::diagnostics::console_trace_listener class with trace output wr...
virtual const std::ostream & ostream() const
Gets the underlying stream.