__init__(name[, level])
|
Initialize the logger with a name and an optional level. |
addFilter(filter)
|
Add the specified filter to this handler. |
addHandler(hdlr)
|
Add the specified handler to this logger. |
callHandlers(record)
|
Pass a record to all relevant handlers. |
critical(msg, *args, **kwargs)
|
Preformat and log msg % args with severity logging.CRITICAL. |
debug(msg, *args, **kwargs)
|
Preformat and log msg % args with severity logging.DEBUG. |
error(msg, *args, **kwargs)
|
Preformat and log msg % args with severity logging.ERROR. |
exception(msg, *args[, exc_info])
|
Convenience method for logging an ERROR with exception information. |
fatal(msg, *args, **kwargs)
|
Don't use this method, use critical() instead. |
filter(record)
|
Determine if a record is loggable by consulting all the filters. |
findCaller([stack_info, stacklevel])
|
Find the stack frame of the caller so that we can note the source file name, line number and function name. |
getChild(suffix)
|
Get a logger which is a descendant to this one. |
getChildren()
|
|
getEffectiveLevel()
|
Get the effective level for this logger. |
handle(record)
|
Call the handlers for the specified record. |
hasHandlers()
|
See if this logger has any handlers configured. |
info(msg, *args, **kwargs)
|
Preformat and log msg % args with severity logging.INFO. |
isEnabledFor(level)
|
Is this logger enabled for level 'level'? |
log(level, msg, *args, **kwargs)
|
Preformat and log msg % args with integer severity level. |
makeRecord(name, level, fn, lno, msg, args, ...)
|
A factory method which can be overridden in subclasses to create specialized LogRecords. |
removeFilter(filter)
|
Remove the specified filter from this handler. |
removeHandler(hdlr)
|
Remove the specified handler from this logger. |
setLevel(level)
|
Set the logging level of this logger. |
warn(msg, *args, **kwargs)
|
|
warning(msg, *args, **kwargs)
|
Preformat and log msg % args with severity logging.WARNING. |