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 ) 27 #include <log4cxx/appender.h> 28 #include <log4cxx/spi/loggerfactory.h> 29 #include <log4cxx/level.h> 30 #include <log4cxx/spi/hierarchyeventlistener.h> 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 LoggerPtr& logger) = 0;
83 virtual const LevelPtr& getThreshold()
const = 0;
85 virtual LoggerPtr getLogger(
const LogString& name) = 0;
87 virtual LoggerPtr getLogger(
const LogString& name,
90 virtual LoggerPtr getRootLogger()
const = 0;
92 virtual LoggerPtr exists(
const LogString& name) = 0;
94 virtual void shutdown() = 0;
96 virtual LoggerList getCurrentLoggers()
const = 0;
98 virtual void fireAddAppenderEvent(
const LoggerPtr& 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
base class for java-like objects.
Definition: object.h:102
Definition: appender.h:33