Class: DisabledLogging

mmir. DisabledLogging

new mmir.DisabledLogging()

A "silent" replacement for the Logger factory.
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

isDisabledLogger

Special property for identifying the disabled logger-factory

Methods

Will always return the default logger for this logging module

getDefaultLogLevel()

setDefaultLogLevel()