 |
log4cplus
2.0.6
|
Go to the documentation of this file.
24 #ifndef LOG4CPLUS_SPI_LOGGER_HEADER_
25 #define LOG4CPLUS_SPI_LOGGER_HEADER_
29 #if defined (LOG4CPLUS_HAVE_PRAGMA_ONCE)
42 class DefaultLoggerFactory;
77 virtual void closeNestedAppenders();
85 virtual bool isEnabledFor(
LogLevel ll)
const;
91 const char* file=
nullptr,
int line=-1,
92 const char*
function=
nullptr);
104 virtual LogLevel getChainedLogLevel()
const;
132 bool getAdditivity()
const;
137 void setAdditivity(
bool additive);
165 const char*
function);
216 #endif // LOG4CPLUS_SPI_LOGGER_HEADER_
This Interface is for attaching Appenders to objects.
std::basic_string< tchar > tstring
const log4cplus::tstring & getName() const
Return the logger name.
This is the central class in the log4cplus package.
void setLogLevel(LogLevel _ll)
Set the LogLevel of this Logger.
log4cplus::tstring name
The name of this logger.
bool additive
Additivity is set to true by default, that is children inherit the appenders of their ancestors by de...
SharedLoggerImplPtr parent
The parent of this logger.
This class is specialized in retrieving loggers by name and also maintaining the logger hierarchy.
LogLevel ll
The assigned LogLevel of this logger.
LoggerImpl::SharedLoggerImplPtr SharedLoggerImplPtr
The internal representation of logging events.
helpers::SharedObjectPtr< LoggerImpl > SharedLoggerImplPtr
LogLevel getLogLevel() const
Returns the assigned LogLevel, if any, for this Logger.
This class is used to create the default implementation of the Logger class.
This is the central class in the log4cplus package.