23 #ifndef _LOG4CPLUS_HIERARCHY_HEADER_
24 #define _LOG4CPLUS_HIERARCHY_HEADER_
26 #include "dcmtk/oflog/config.h"
38 class HierarchyLocker;
63 static const LogLevel DISABLE_OFF;
64 static const LogLevel DISABLE_OVERRIDE;
119 virtual void disable(LogLevel ll);
126 virtual void disableAll();
133 virtual void disableDebug();
140 virtual void disableInfo();
149 virtual void enableAll();
187 virtual bool isDisabled(
int level);
192 virtual Logger getRoot()
const;
207 virtual void resetConfiguration();
232 virtual void shutdown();
237 typedef OFListIterator(
Logger) ProvisionNodeIterator;
247 spi::LoggerFactory& factory);
253 virtual
void initializeLoggerList(
LoggerList& list) const;
275 void updateParents(
Logger logger);
291 void updateChildren(ProvisionNode& pn,
Logger logger);
294 LOG4CPLUS_MUTEX_PTR_DECLARE hashtable_mutex;
295 OFauto_ptr<spi::LoggerFactory> defaultFactory;
296 ProvisionNodeMap provisionNodes;
297 LoggerMap loggerPtrs;
302 bool emittedNoAppenderWarning;
303 bool emittedNoResourceBundleWarning;
307 Hierarchy& operator=(const Hierarchy&);
316 #endif // _LOG4CPLUS_HIERARCHY_HEADER_
associative container class.
This class used to simplify the use of the LogLog class.
This is the central class in the log4cplus package.
This is used to lock a Hierarchy.
This class is specialized in retrieving loggers by name and also maintaining the logger hierarchy...
This header defines the Logger class and the logging macros.
virtual spi::LoggerFactory * getLoggerFactory()
Returns the default LoggerFactory instance.
a simple string class that implements a subset of std::string.
Implement this interface to create new instances of Logger or a sub-class of Logger.