|
OFFIS DCMTK Version 3.6.0
|
ConsoleAppender appends log events to STD_NAMESPACE cout or STD_NAMESPACE cerr using a layout specified by the user.
More...
Public Member Functions | |
| ConsoleAppender (bool logToStdErr=false, bool immediateFlush=false) | |
| ConsoleAppender (const log4cplus::helpers::Properties properties, log4cplus::tstring &error) | |
| virtual void | close () |
Protected Member Functions | |
| virtual void | append (const spi::InternalLoggingEvent &event) |
Protected Attributes | |
| bool | logToStdErr |
| bool | immediateFlush |
| Immediate flush means that the underlying output stream will be flushed at the end of each append operation. | |
ConsoleAppender appends log events to STD_NAMESPACE cout or STD_NAMESPACE cerr using a layout specified by the user.
The default target is STD_NAMESPACE cout.
logToStdErr When it is set true, the output stream will be STD_NAMESPACE cerr instead of STD_NAMESPACE cout.
ImmediateFlush When it is set true, output stream will be flushed after each appended event.