23 #ifndef _LOG4CPLUS_SPI_LOGGER_HEADER_
24 #define _LOG4CPLUS_SPI_LOGGER_HEADER_
26 #include "dcmtk/oflog/config.h"
36 class DefaultLoggerFactory;
74 virtual void closeNestedAppenders();
82 virtual bool isEnabledFor(LogLevel ll)
const;
88 const char* file=NULL,
int line=-1,
89 const char*
function=NULL);
99 virtual LogLevel getChainedLogLevel()
const;
127 bool getAdditivity()
const;
132 void setAdditivity(
bool additive);
156 virtual void forcedLog(LogLevel ll,
158 const char* file=NULL,
160 const char*
function=NULL);
209 #endif // _LOG4CPLUS_SPI_LOGGER_HEADER_
The internal representation of logging events.
This is the central class in the log4cplus package.
void setLogLevel(LogLevel _ll)
Set the LogLevel of this Logger.
This Interface is for attaching Appenders to objects.
LogLevel ll
The assigned LogLevel of this logger.
This is the central class in the log4cplus package.
Hierarchy & hierarchy
Loggers need to know what Hierarchy they are in.
log4cplus::tstring name
The name of this logger.
SharedLoggerImplPtr parent
The parent of this logger.
This class is used to create the default implementation of the Logger class.
This class is specialized in retrieving loggers by name and also maintaining the logger hierarchy...
a simple string class that implements a subset of std::string.
LogLevel getLogLevel() const
Returns the assigned LogLevel, if any, for this Logger.
log4cplus::tstring getName() const
Return the logger name.
bool additive
Additivity is set to true by default, that is children inherit the appenders of their ancestors by de...