Home | Trees | Index | Help |
|
---|
Package Pyblosxom :: Module _logging |
|
Classes | |
---|---|
FileHandler |
A stripped down version of the logging.FileHandler class. |
Filterer |
A stripped down version of the logging.Filterer class. |
Formatter |
A stripped down version of the logging.Formatter class. |
Logger |
A stripped down version of the logging.Logger class. |
LogRecord |
A stripped down version of the logging.LogRecord class. |
StreamHandler |
A stripped down version of the logging.StreamHandler class. |
Function Summary | |
---|---|
Fills in the _levels and _level_names dictionaries. | |
Utility function to log stuff while working on the _logging module. | |
str
|
Return the textual representation of logging level 'level'. |
Creates and returns a logging channel. | |
Close logfiles and clear the logger-registry. |
Variable Summary | |
---|---|
str |
_devlogfile = '/tmp/dev-log.log'
|
dict |
_handlers = {}
|
dict |
_level_names = {0: 'NOTSET', 40: 'ERROR', 10: 'DEBUG', 5...
|
dict |
_levels = {'INFO': 20, 'NOTSET': 0, 'WARNING': 30, 'WARN...
|
NoneType |
_log = None |
dict |
_logger_registry = {}
|
list |
_names = ['FATAL', 'CRITICAL', 'ERROR', 'WARN', 'WARNING...
|
str |
_srcfile = '/home/willg/pyblosxom/Pyblosxom/_logging.py'...
|
float |
_startTime = 1139370235.469486 |
int |
CRITICAL = 50 |
int |
DEBUG = 10 |
int |
ERROR = 40 |
int |
FATAL = 50 |
int |
INFO = 20 |
int |
NOTSET = 0 |
int |
WARN = 30 |
int |
WARNING = 30 |
Function Details |
---|
__populate_levels()Fills in the _levels and _level_names dictionaries. |
dump(msg, *args)Utility function to log stuff while working on the _logging module. |
getLevelName(level)Return the textual representation of logging level 'level'.
|
getLogger(log_name=None)Creates and returns a logging channel. Registers the created logger in the logger-registry for further reference. |
shutdown()Close logfiles and clear the logger-registry. |
Variable Details |
---|
_devlogfile
|
_handlers
|
_level_names
|
_levels
|
_log
|
_logger_registry
|
_names
|
_srcfile
|
_startTime
|
CRITICAL
|
DEBUG
|
ERROR
|
FATAL
|
INFO
|
NOTSET
|
WARN
|
WARNING
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Tue Feb 7 21:43:58 2006 | http://epydoc.sf.net |