log4cplus_HierarchyLocker(3)

log4cplus::HierarchyLocker(3) log4cplus log4cplus::HierarchyLocker(3)

NAME

log4cplus::HierarchyLocker - This is used to lock a Hierarchy.

SYNOPSIS

#include <hierarchylocker.h>

Public Member Functions


HierarchyLocker (Hierarchy &h)
~HierarchyLocker () LOG4CPLUS_NOEXCEPT_FALSE
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

log4cplus::HierarchyLocker::HierarchyLocker (Hierarchy & h)

log4cplus::HierarchyLocker::~HierarchyLocker ()

Member Function Documentation

void log4cplus::HierarchyLocker::addAppender (Logger & logger, log4cplus::SharedAppenderPtr & appender)

Logger log4cplus::HierarchyLocker::getInstance (const log4cplus::tstring & name)

Calls the getInstance() method on the locked Hierarchy.

Logger log4cplus::HierarchyLocker::getInstance (const log4cplus::tstring & name, spi::LoggerFactory & factory)

Calls the getInstance() method on the locked Hierarchy.

void log4cplus::HierarchyLocker::resetConfiguration ()

Calls the resetConfiguration() method on the locked Hierarchy.

Author

Generated automatically by Doxygen for log4cplus from the source code.

Mon Jun 5 2023 21:46:10 Version 2.0.7