DCMTK
Version 3.6.1 20121102
OFFIS DICOM Toolkit
|
Appends log events to a file. More...
Public Member Functions | |
NullAppender (const helpers::Properties &properties, tstring &error) | |
virtual void | close () |
![]() | |
Appender (const helpers::Properties properties) | |
void | destructorImpl () |
void | doAppend (const spi::InternalLoggingEvent &event) |
This method performs threshold checks and invokes filters before delegating actual logging to the subclasses specific append method. | |
virtual tstring | getName () |
Get the name of this appender. More... | |
virtual void | setName (const tstring &name) |
Set the name of this appender. More... | |
virtual void | setErrorHandler (OFauto_ptr< ErrorHandler > eh) |
Set the ErrorHandler for this Appender. | |
virtual ErrorHandler * | getErrorHandler () |
Return the currently set ErrorHandler for this Appender. | |
virtual void | setLayout (OFauto_ptr< Layout > layout) |
Set the layout for this appender. More... | |
virtual Layout * | getLayout () |
Returns the layout of this appender. More... | |
void | setFilter (spi::FilterPtr f) |
Set the filter chain on this Appender. | |
spi::FilterPtr | getFilter () const |
Get the filter chain on this Appender. | |
LogLevel | getThreshold () const |
Returns this appenders threshold LogLevel. More... | |
void | setThreshold (LogLevel th) |
Set the threshold LogLevel. More... | |
bool | isAsSevereAsThreshold (LogLevel ll) const |
Check whether the message LogLevel is below the appender's threshold. More... | |
![]() | |
void | addReference () const |
void | removeReference () const |
Protected Member Functions | |
virtual void | append (const spi::InternalLoggingEvent &event) |
Private Member Functions | |
NullAppender (const NullAppender &) | |
NullAppender & | operator= (const NullAppender &) |
Additional Inherited Members | |
![]() | |
DCMTK_LOG4CPLUS_MUTEX_PTR_DECLARE | access_mutex |
![]() | |
OFauto_ptr< Layout > | layout |
The layout variable does not need to be set if the appender implementation has its own layout. More... | |
tstring | name |
Appenders are named. More... | |
LogLevel | threshold |
There is no LogLevel threshold filtering by default. More... | |
spi::FilterPtr | filter |
The first filter in the filter chain. More... | |
OFauto_ptr< ErrorHandler > | errorHandler |
It is assumed and enforced that errorHandler is never null. More... | |
bool | closed |
Is this appender closed? | |
Appends log events to a file.