| Home | Trees | Index | Help |
|
|---|
|
|
Filterer --+ | Logger --+ | RootLogger
| Method Summary | |
|---|---|
| __init__(self,
level)
Initialize the logger with the name "root". | |
| Inherited from Logger | |
| addHandler(self,
hdlr)
Add the specified handler to this logger. | |
| callHandlers(self,
record)
Pass a record to all relevant handlers. | |
| critical(self,
msg,
*args,
**kwargs)
Log 'msg % args' with severity 'CRITICAL'. | |
| debug(self,
msg,
*args,
**kwargs)
Log 'msg % args' with severity 'DEBUG'. | |
| error(self,
msg,
*args,
**kwargs)
Log 'msg % args' with severity 'ERROR'. | |
| exception(self,
msg,
*args)
Convenience method for logging an ERROR with exception information. | |
| fatal(self,
msg,
*args,
**kwargs)
Log 'msg % args' with severity 'CRITICAL'. | |
| findCaller(self)
Find the stack frame of the caller so that we can note the source file name, line number and function name. | |
| getEffectiveLevel(self)
Get the effective level for this logger. | |
| handle(self,
record)
Call the handlers for the specified record. | |
| info(self,
msg,
*args,
**kwargs)
Log 'msg % args' with severity 'INFO'. | |
| isEnabledFor(self,
level)
Is this logger enabled for level 'level'? | |
| log(self,
level,
msg,
*args,
**kwargs)
Log 'msg % args' with the integer severity 'level'. | |
| makeRecord(self,
name,
level,
fn,
lno,
msg,
args,
exc_info)
A factory method which can be overridden in subclasses to create specialized LogRecords. | |
| removeHandler(self,
hdlr)
Remove the specified handler from this logger. | |
| setLevel(self,
level)
Set the logging level of this logger. | |
| warn(self,
msg,
*args,
**kwargs)
Log 'msg % args' with severity 'WARNING'. | |
| warning(self,
msg,
*args,
**kwargs)
Log 'msg % args' with severity 'WARNING'. | |
| _log(self,
level,
msg,
args,
exc_info)
Low-level logging routine which creates a LogRecord and then calls all the handlers of this logger to handle the record. | |
| Inherited from Filterer | |
| addFilter(self,
filter)
Add the specified filter to this handler. | |
| filter(self,
record)
Determine if a record is loggable by consulting all the filters. | |
| removeFilter(self,
filter)
Remove the specified filter from this handler. | |
| Class Variable Summary | |
|---|---|
| Inherited from Logger | |
| Manager | manager = <logging.Manager instance at 0x00A71260> |
| RootLogger | root = <logging.RootLogger instance at 0x00A710A8> |
| Method Details |
|---|
__init__(self,
level)
Initialize the logger with the name "root".
|
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Thu Oct 13 20:20:57 2005 | http://epydoc.sf.net |