#include <pvlogger_registry.h>
Public Types | |
typedef PVLogger::log_level_type | log_level_type |
typedef PVLogger::alloc_type | alloc_type |
Public Methods | |
OSCL_IMPORT_REF | PVLoggerRegistry () |
virtual OSCL_IMPORT_REF | ~PVLoggerRegistry () |
OSCL_IMPORT_REF PVLogger * | GetPVLoggerObject (const char *tagIn) |
OSCL_IMPORT_REF PVLogger * | CreatePVLogger (const char *tagIn, log_level_type level, bool oAppenderInheritance) |
OSCL_IMPORT_REF bool | SetNodeLogLevelExplicit (char *tagIn, log_level_type level) |
OSCL_IMPORT_REF void | SetNodeLogLevelExplicit (Oscl_TagTree< PVLogger *, alloc_type >::node_type *node, log_level_type level) |
Static Public Methods | |
OSCL_IMPORT_REF PVLoggerRegistry * | GetPVLoggerRegistry () |
PVLoggerRegistry class, maintains a repository of all the loggers, along with their associated tags, in a tag tree. Any request for a log control point is serviced by this class.
Memory Ownership: Creates log control points for each tag, and holds these pointers in the tag tree. PVLogger registry is responsible for calling the destructor on each of these loggers.
|
|
|
|
|
PVLoggerRegistry Constructor |
|
PVLoggerRegistry Destructor |
|
This method creates a log control point, with specified tag, and level
|
|
PVLoggerRegistry method to get access to a logging control point, associated with a tag. In case the logger for this tag does not exist, it is created afresh, else pointer to the existing one is returned.
|
|
Get the logger registry. There is only one logger registry instance per thread. |
|
This method recursively propagates the log level to all the descendents, of a node.
|
|
This method propagates the log level to all the descendents of the node, with a specified tag.
|