OFFIS DCMTK  Version 3.6.0
Public Member Functions | Protected Member Functions | Protected Attributes
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:
[legend]
Collaboration diagram for log4cplus::ConsoleAppender:
[legend]

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 Thu May 24 2012 for OFFIS DCMTK Version 3.6.0 by Doxygen 1.7.6.1