Logger
No summary available
import { Logger } from "@schukai/monster/source/logging/logger.mjs";Exported
Logger, ALL, TRACE, DEBUG, INFO, WARN, ERROR, FATAL, OFFDerived from
BaseOptions
The Options listed in this section are defined directly within the class. This class is derived from several parent classes. Therefore, it inherits Options from these parent classes. If you cannot find a specific Options in this list, we recommend consulting the documentation of the Base.
Properties
The Properties listed in this section are defined directly within the class. This class is derived from several parent classes. Therefore, it inherits Properties from these parent classes. If you cannot find a specific Properties in this list, we recommend consulting the documentation of the Base.
Methods
The methods listed in this section are defined directly within the class. This class is derived from several parent classes. Therefore, it inherits methods from these parent classes. If you cannot find a specific method in this list, we recommend consulting the documentation of the Base.
Constructor
constructor()Behavioral methods
addHandler(handler)handler{handler}: handler
- {Logger}
{Error}the handler must be an instance of Handler
removeHandler(handler)handler{handler}: handler
- {Logger}
{Error}the handler must be an instance of Handler
Structural methods
getLabel(level)level{number}: level
- {string}
getLevel(label)label{string}: label
- {integer}
Other methods
logDebug()1.5.0undefined{*}: arguments
- {Logger}
logError()1.5.0undefined{*}: arguments
- {Logger}
logFatal()1.5.0undefined{*}: arguments
- {Logger}
logInfo()1.5.0undefined{*}: arguments
- {Logger}
logTrace()1.5.0undefined{*}: arguments
- {Logger}
logWarn()1.5.0undefined{*}: arguments
- {Logger}
Events
This component does not fire any public events. It may fire events that are inherited from its parent classes.