Home | Trees | Index | Help |
|
---|
|
Method Summary | |
---|---|
__init__(self,
rootnode)
Initialize the manager with the root node of the logger hierarchy. | |
getLogger(self,
name)
Get a logger with the specified name (channel name), creating it if it doesn't yet exist. | |
_fixupChildren(self,
ph,
alogger)
Ensure that children of the placeholder ph are connected to the specified logger. | |
_fixupParents(self,
alogger)
Ensure that there are either loggers or placeholders all the way from the specified logger to the root of the logger hierarchy. |
Method Details |
---|
__init__(self,
rootnode)
Initialize the manager with the root node of the logger
hierarchy.
|
getLogger(self, name)Get a logger with the specified name (channel name), creating it if it doesn't yet exist. This name is a dot-separated hierarchical name, such as "a", "a.b", "a.b.c" or similar. If a PlaceHolder existed for the specified name [i.e. the logger didn't exist but a child of it did], replace it with the created logger and fix up the parent/child references which pointed to the placeholder to now point to the logger. |
_fixupChildren(self, ph, alogger)Ensure that children of the placeholder ph are connected to the specified logger. |
_fixupParents(self, alogger)Ensure that there are either loggers or placeholders all the way from the specified logger to the root of the logger hierarchy. |
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Thu Oct 13 20:20:57 2005 | http://epydoc.sf.net |