log4cplus::ConsoleAppender Class Reference

ConsoleAppender appends log events to STD_NAMESPACE cout or STD_NAMESPACE cerr using a layout specified by the user. More...

Inheritance diagram for log4cplus::ConsoleAppender:

log4cplus::Appender log4cplus::helpers::SharedObject log4cplus::helpers::LogLogUser List of all members.

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.

Detailed Description

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.

Properties

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.

Definition at line 47 of file consap.h.


The documentation for this class was generated from the following file:


Generated on 6 Jan 2011 for OFFIS DCMTK Version 3.6.0 by Doxygen 1.5.1