A LoggerRepository is used to create and retrieve Loggers.
More...
#include <loggerrepository.h>
HierarchyEventListener event to the repository. configurator if not yet configured. level parameter. A LoggerRepository is used to create and retrieve Loggers.
The relation between loggers in a repository depends on the repository but typically loggers are arranged in a named hierarchy.
In addition to the creational methods, a LoggerRepository can be queried for existing loggers, can act as a point of registry for events related to loggers.
Add a HierarchyEventListener event to the repository.
Implemented in log4cxx::Hierarchy.
Call configurator if not yet configured.
Implemented in log4cxx::Hierarchy.
Implemented in log4cxx::Hierarchy.
Reimplemented in log4cxx::Hierarchy.
Reimplemented in log4cxx::Hierarchy.
Implemented in log4cxx::Hierarchy.
Retrieve the name Logger instance.
Implemented in log4cxx::Hierarchy.
Retrieve the name Logger instance.
If a logger of that name already exists, then it will be returned. Otherwise, a new logger will be instantiated by the provided factory.
Implemented in log4cxx::Hierarchy.
Implemented in log4cxx::Hierarchy.
Get the repository-wide threshold.
See setThreshold for an explanation.
Implemented in log4cxx::Hierarchy.
Implemented in log4cxx::Hierarchy.
Is the repository disabled for a given level? The answer depends on the repository threshold and the level parameter.
See also setThreshold method.
Implemented in log4cxx::Hierarchy.
Implemented in log4cxx::Hierarchy.
Implemented in log4cxx::Hierarchy.
Set the repository-wide threshold.
All logging requests below the threshold are immediately dropped. By default, the threshold is set to Level::getAll() which has the lowest possible rank.
Implemented in log4cxx::Hierarchy.
Another form of setThreshold accepting a string parameter instead of a Level .
Implemented in log4cxx::Hierarchy.
Implemented in log4cxx::Hierarchy.