log4cplus  1.1.0
Public Member Functions
log4cplus::HierarchyLocker Class Reference

This is used to lock a Hierarchy. More...

#include <hierarchylocker.h>

List of all members.

Public Member Functions

 HierarchyLocker (Hierarchy &h)
 ~HierarchyLocker ()
void resetConfiguration ()
 Calls the resetConfiguration() method on the locked Hierarchy.
Logger getInstance (const log4cplus::tstring &name)
 Calls the getInstance() method on the locked Hierarchy.
Logger getInstance (const log4cplus::tstring &name, spi::LoggerFactory &factory)
 Calls the getInstance() method on the locked Hierarchy.
void addAppender (Logger &logger, log4cplus::SharedAppenderPtr &appender)

Detailed Description

This is used to lock a Hierarchy.

The dtor unlocks the Hierarchy.

Definition at line 47 of file hierarchylocker.h.


Constructor & Destructor Documentation


Member Function Documentation

Calls the getInstance() method on the locked Hierarchy.

Calls the getInstance() method on the locked Hierarchy.

Calls the resetConfiguration() method on the locked Hierarchy.


The documentation for this class was generated from the following file: