Class Index | File Index

Classes


Namespace mmir.DisabledLogging


Defined in: loggerDisabled.js.

Namespace Summary
Constructor Attributes Constructor Name and Description
 
A "silent" replacement for the Logger factory.
Field Summary
Field Attributes Field Name and Description
 
Special property for identifying the disabled logger-factory
Method Summary
Method Attributes Method Name and Description
 
Will always return the default logger for this logging module
 
 
 
get()
 
 
info()
 
log()
 
 
 
warn()
Namespace Detail
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).
mmir.Logging.create('SomeClass')
See:
mmir.Logging
Field Detail
isDisabledLogger
Special property for identifying the disabled logger-factory
Method Detail
{DisabledLogger} create()
Will always return the default logger for this logging module
Returns:
{DisabledLogger}

debug()

error()

get()

getDefaultLogLevel()

info()

log()

setDefaultLogLevel()

verbose()

warn()

Documentation generated by JsDoc Toolkit 2.4.0 on Fri Feb 26 2016 21:44:43 GMT+0100 (Mitteleuropäische Zeit)