Loggers have the following attributes and methods. Note that Loggers are never instantiated directly, but always through the module-level function logging.getLogger(name).
| lvl) |
The term "delegation to the parent" means that if a logger has a level of NOTSET, its chain of ancestor loggers is traversed until either an ancestor with a level other than NOTSET is found, or the root is reached.
If an ancestor is found with a level other than NOTSET, then that ancestor's level is treated as the effective level of the logger where the ancestor search began, and is used to determine how a logging event is handled.
If the root is reached, and it has a level of NOTSET, then all messages will be processed. Otherwise, the root's level will be used as the effective level.
| lvl) |
| ) |
| msg[, *args[, **kwargs]]) |
| msg[, *args[, **kwargs]]) |
| msg[, *args[, **kwargs]]) |
| msg[, *args[, **kwargs]]) |
| msg[, *args[, **kwargs]]) |
| lvl, msg[, *args[, **kwargs]]) |
| msg[, *args]) |
| filt) |
| filt) |
| record) |
| hdlr) |
| hdlr) |
| ) |
| record) |
| name, lvl, fn, lno, msg, args, exc_info) |
See About this document... for information on suggesting changes.