18 #ifndef _LOG4CXX_SPI_LOG_REPOSITORY_H 19 #define _LOG4CXX_SPI_LOG_REPOSITORY_H 22 #pragma warning ( push ) 23 #pragma warning ( disable: 4231 4251 4275 4786 ) 57 virtual void addHierarchyEventListener(
const HierarchyEventListenerPtr&
63 virtual bool isDisabled(
int level)
const = 0;
69 virtual void setThreshold(
const LevelPtr& level) = 0;
75 virtual void setThreshold(
const LogString& val) = 0;
77 virtual void emitNoAppenderWarning(
const Logger* logger) = 0;
83 virtual const LevelPtr& getThreshold()
const = 0;
90 virtual LoggerPtr getRootLogger()
const = 0;
94 virtual void shutdown() = 0;
96 virtual LoggerList getCurrentLoggers()
const = 0;
98 virtual void fireAddAppenderEvent(
const Logger* logger,
101 virtual void resetConfiguration() = 0;
103 virtual bool isConfigured() = 0;
104 virtual void setConfigured(
bool configured) = 0;
111 #if defined(_MSC_VER) 112 #pragma warning ( pop ) 116 #endif //_LOG4CXX_SPI_LOG_REPOSITORY_H A LoggerRepository is used to create and retrieve Loggers.
Definition: loggerrepository.h:47
#define DECLARE_ABSTRACT_LOG4CXX_OBJECT(object)
Definition: object.h:26
std::shared_ptr< LoggerFactory > LoggerFactoryPtr
Definition: logmanager.h:38
std::shared_ptr< Level > LevelPtr
Definition: optionconverter.h:27
std::vector< LoggerPtr > LoggerList
Definition: logmanager.h:34
base class for java-like objects.
Definition: object.h:101
Implement this interface for your own strategies for outputting log statements.
Definition: appender.h:55
This is the central class in the log4cxx package.
Definition: logger.h:63
std::shared_ptr< Logger > LoggerPtr
Definition: defaultloggerfactory.h:26
Definition: appender.h:32
std::basic_string< logchar > LogString
Definition: logstring.h:66