23 #ifndef _LOG4CPLUS_APPENDER_HEADER_
24 #define _LOG4CPLUS_APPENDER_HEADER_
26 #include "dcmtk/oflog/config.h"
36 #include "dcmtk/ofstd/ofaptr.h"
49 virtual void reset() = 0;
86 void destructorImpl();
95 virtual void close() = 0;
139 virtual Layout* getLayout();
173 return ((ll != NOT_SET_LOG_LEVEL) && (ll >= threshold));
212 #endif // _LOG4CPLUS_APPENDER_HEADER_
The internal representation of logging events.
This header defines Filter and all of it's subclasses.
This class is used to layout strings sent to an log4cplus::Appender.
OFauto_ptr< Layout > layout
The layout variable does not need to be set if the appender implementation has its own layout...
This class used to simplify the use of the LogLog class.
log4cplus::spi::FilterPtr filter
The first filter in the filter chain.
void setThreshold(LogLevel th)
Set the threshold LogLevel.
This class is used to "handle" errors encountered in an log4cplus::Appender.
bool isAsSevereAsThreshold(LogLevel ll) const
Check whether the message LogLevel is below the appender's threshold.
void setFilter(log4cplus::spi::FilterPtr f)
Set the filter chain on this Appender.
This header defines the LogLevel type.
a simple class which makes sure a pointer is deleted once it goes out of scope.
log4cplus::spi::FilterPtr getFilter() const
Get the filter chain on this Appender.
LogLevel getThreshold() const
Returns this appenders threshold LogLevel.
a simple string class that implements a subset of std::string.
LogLevel threshold
There is no LogLevel threshold filtering by default.
log4cplus::tstring name
Appenders are named.
Extend this class for implementing your own strategies for printing log statements.
bool closed
Is this appender closed?
OFauto_ptr< ErrorHandler > errorHandler
It is assumed and enforced that errorHandler is never null.