| Home | Trees | Index | Help |
|
|---|
| Package bazaar :: Class Log |
|
object --+
|
Log
Utility class to deffer creation of loggers (of logging package).
Usage:
log = Log('bazaar.core') # log is Log instance
log.debug() # log is logging.Logger instance
@ivar logger: Logger name.
| Method Summary | |
|---|---|
Create log utility class | |
Replace log utility instance with real logger from logging package. | |
| Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
x.__hash__() <==> hash(x) | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
helper for pickle | |
helper for pickle | |
x.__repr__() <==> repr(x) | |
x.__setattr__('name', value) <==> x.name = value | |
x.__str__() <==> str(x) | |
| Method Details |
|---|
__init__(self,
logger)
Create log utility class
|
__getattr__(self,
attr)
Replace log utility instance with real logger from logging
package.
|
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Tue May 10 18:27:28 2005 | http://epydoc.sf.net |