new mmir.DisabledLogging()
A "silent" replacement for the Logger factory.
Has the same interface (functions etc.) as
Has the same interface (functions etc.) as
mmir.Logging.
This logging module allows to disable logging completely.
Which logging module is used, can be configured in core
module in mmir.
Note: after configuration
of
mmir.debug with false, this
logging module, i.e. the DisabledLogging factory with
its DisabledLogger implementation, will be available
via mmir.Logging(and not as
mmir.DisabledLogger).
- See:
Example
mmir.Logging.create('SomeClass')
Members
-
private_defaultLogger
-
-
isDisabledLogger
-
Special property for identifying the disabled logger-factory
Methods
-
create(){DisabledLogger}
-
Will always return the default logger for this logging module
-
debug()
-
-
error()
-
-
get()
-
-
getDefaultLogLevel()
-
-
info()
-
-
log()
-
-
setDefaultLogLevel()
-
-
verbose()
-
-
warn()
-