neurokernel.mixins.LoggerMixin¶
-
class
neurokernel.mixins.
LoggerMixin
(name, log_on=True)[source]¶ Mixin that provides a per-instance logger that can be turned off.
Parameters: -
log_on
¶ bool – If set to False, the logger’s methods will silently do nothing when called.
-
log_debug
(), log_info(), log_warning(), log_error(), log_critical()¶ Emit a log message at the level corresponding to the method name.
Methods
__init__
(name[, log_on])x.__init__(…) initializes x; see help(type(x)) for signature Attributes
log_on
Logger switch. -