class InstanceLogger(object):
A logger adapter (wrapper) for .Identified
subclasses.
This allows multiple instances (e.g. Engine or Pool instances) to share a logger, but have its verbosity controlled on a per-instance basis.
The basic functionality is to return a logging level which is based on an instance's echo setting.
Default implementation is:
'debug' -> logging.DEBUG True -> logging.INFO False -> Effective level of underlying logger ( logging.WARNING by default) None -> same as False
Method | __init__ |
Undocumented |
Method | critical |
Delegate a critical call to the underlying logger. |
Method | debug |
Delegate a debug call to the underlying logger. |
Method | error |
Delegate an error call to the underlying logger. |
Method | exception |
Delegate an exception call to the underlying logger. |
Method | getEffectiveLevel |
What's the effective level for this logger? |
Method | info |
Delegate an info call to the underlying logger. |
Method | isEnabledFor |
Is this logger enabled for level 'level'? |
Method | log |
Delegate a log call to the underlying logger. |
Method | warning |
Delegate a warning call to the underlying logger. |
Class Variable | _echo_map |
Undocumented |
Instance Variable | echo |
Undocumented |
Instance Variable | logger |
Undocumented |