Namespace mmir.DisabledLogging
Defined in: loggerDisabled.js.
Constructor Attributes | Constructor Name and Description |
---|---|
A "silent" replacement for the Logger factory.
|
Field Attributes | Field Name and Description |
---|---|
Special property for identifying the disabled logger-factory
|
Method Attributes | Method Name and Description |
---|---|
create()
Will always return the default logger for this logging module
|
|
debug()
|
|
error()
|
|
get()
|
|
info()
|
|
log()
|
|
verbose()
|
|
warn()
|
Namespace Detail
mmir.DisabledLogging
A "silent" replacement for the Logger factory.
Has the same interface (functions etc.) as mmir.Logging.
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()