6.1.2.1. LOGGER¶
-
circus_hooks.
LOGGER
= <BoundLoggerLazyProxy(logger=None, wrapper_class=None, processors=None, context_class=None, initial_values={'name': 'circus_hooks'}, logger_factory_args=('circus_hooks',))>¶ Instantiates a BoundLogger on first usage.
Takes both configuration and instantiation parameters into account.
The only points where a BoundLogger changes state are bind(), unbind(), and new() and that return the actual BoundLogger.
If and only if configuration says so, that actual BoundLogger is cached on first usage.
Changed in version 0.4.0: Added support for logger_factory_args.