publicLogger
Index
Constructors
publicconstructor
Parameters
options: Required<LoggerOptions>
Returns default
Methods
publicenabled
Parameters
level: LogLevel
Returns boolean
publicgetLevel
Returns logger level.
Returns LogLevel
publicgetWriter
Returns writer of logger.
Returns LogWriter
publiclog
publicsetLevel
Sets logger level.
Parameters
level: LogLevel
Returns void
publicsetWriter
Sets writer of logger.
Parameters
writer: LogWriter
Returns void
Returns true if the given
level
is enabled in logger.