#include <StdErrorLogOutput.h>
Static Public Member Functions | |
static LogOutputStream * | create (const icl_core::String &name, const icl_core::String &config_prefix, icl_core::logging::LogLevel log_level=cDEFAULT_LOG_LEVEL) |
Private Member Functions | |
virtual void | pushImpl (const icl_core::String &log_line) |
StdErrorLogOutput (const icl_core::String &name, const icl_core::String &config_prefix, icl_core::logging::LogLevel log_level) |
An output stream which streams to std err.
This class is implemented as a singleton so that only one instance can exist in any process.
Definition at line 45 of file StdErrorLogOutput.h.
icl_core::logging::StdErrorLogOutput::StdErrorLogOutput | ( | const icl_core::String & | name, |
const icl_core::String & | config_prefix, | ||
icl_core::logging::LogLevel | log_level | ||
) | [inline, private] |
Definition at line 55 of file StdErrorLogOutput.h.
LogOutputStream * icl_core::logging::StdErrorLogOutput::create | ( | const icl_core::String & | name, |
const icl_core::String & | config_prefix, | ||
icl_core::logging::LogLevel | log_level = cDEFAULT_LOG_LEVEL |
||
) | [static] |
Creates a new STDERR log output stream.
Definition at line 20 of file StdErrorLogOutput.cpp.
void icl_core::logging::StdErrorLogOutput::pushImpl | ( | const icl_core::String & | log_line | ) | [private, virtual] |
This virtual function is called with a formatted log line. It sould be overridden by output stream implementations, which do not need the individual fields of a log message but only a formatted log message text.
Reimplemented from icl_core::logging::LogOutputStream.
Definition at line 27 of file StdErrorLogOutput.cpp.