System.out
or System.err
using a layout specified by the user.
More...
#include <consoleappender.h>
Inheritance diagram for log4cplus::ConsoleAppender:
Public Member Functions | |
ConsoleAppender (bool logToStdErr=false, bool immediateFlush=false) | |
ConsoleAppender (const log4cplus::helpers::Properties properties) | |
~ConsoleAppender () | |
virtual void | close () |
Release any resources allocated within the appender such as file handles, network connections, etc. | |
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. |
System.out
or System.err
using a layout specified by the user.
The default target is System.out
.
Definition at line 28 of file consoleappender.h.
|
|
|
|
|
|
|
|
|
Release any resources allocated within the appender such as file handles, network connections, etc. It is a programming error to append to a closed appender. Implements log4cplus::Appender. |
|
Immediate flush means that the underlying output stream will be flushed at the end of each append operation.
Definition at line 49 of file consoleappender.h. |
|
Definition at line 44 of file consoleappender.h. |