|
Avara3D 0.2.0
C++ API reference
|
LogSink that writes ordinary messages to standard output and errors to standard error. More...
#include <a3d/log/sink/StdOutLogSink.h>
Public Member Functions | |
| StdOutLogSink () | |
| Creates a standard-stream log sink. More... | |
| void | flush () override |
| Flushes buffered standard-stream output. More... | |
| void | write (const std::string &output, Level level) override |
| Writes Error and Fatal output to standard error and lower severities to standard output. More... | |
| virtual void | write (const std::string &output, Level level)=0 |
Writes already-formatted output associated with level. More... | |
| virtual void | flush () |
| Flushes buffered sink output; the base implementation does nothing. More... | |
LogSink that writes ordinary messages to standard output and errors to standard error.
Definition at line 19 of file StdOutLogSink.h.
| a3d::log::StdOutLogSink::StdOutLogSink | ( | ) |
Creates a standard-stream log sink.
|
overridevirtual |
Flushes buffered standard-stream output.
Reimplemented from a3d::log::LogSink.
|
overridevirtual |
Writes Error and Fatal output to standard error and lower severities to standard output.
Implements a3d::log::LogSink.