DCMTK  Version 3.6.1 20120515
OFFIS DICOM Toolkit
Public Member Functions | Protected Member Functions | Protected Attributes
dcmtk::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 dcmtk::log4cplus::ConsoleAppender:

List of all members.

Public Member Functions

 ConsoleAppender (bool logToStdErr=false, bool immediateFlush=false)
 ConsoleAppender (const helpers::Properties properties, 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.


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


Generated on Tue May 15 2012 for DCMTK Version 3.6.1 20120515 by Doxygen 1.7.5.1-20111027