Built and signed on GitHub ActionsBuilt and signed on GitHub Actions
UNSTABLE: A customizable logger framework
Classes
A logger that can log messages at different levels.
- critical<T>(): T | undefinedmsg: () => T,...args: unknown[]
Log at the critical level.
- debug<T>(): T | undefinedmsg: () => T,...args: unknown[]
Log at the debug level.
- error<T>(): T | undefinedmsg: () => T,...args: unknown[]
Log at the error level.
- handlers: BaseHandler[]
The handlers to use for the logger.
- info<T>(): T | undefinedmsg: () => T,...args: unknown[]
Log at the info level.
- level(): LogLevel
Getter for the log level.
- levelName(): LevelName
Getter for the name of the log level.
- loggerName(): string
Getter for the name of the logger.
- warn<T>(): T | undefinedmsg: () => T,...args: unknown[]
Log at the warning level.
Configuration options for a logger instance.
An object that encapsulates provided message and arguments as well some metadata that can be later used when formatting a message.
- args(): unknown[]
Getter for the arguments to log.
- datetime(): Date
Getter for the date and time the log record was created.
- level: number
The numeric log level of the log record.
- levelName: string
The name of the log level of the log record.
- loggerName: string
The name of the logger that created the log record.
- msg: string
The message to log.
Interfaces
Configuration for logger setup.
Options for LogRecord.
- args: unknown[]
The arguments to log.
- level: LogLevel
The log level of the message.
- loggerName: string
The name of the logger that created the log record.
- msg: string
The message to log.
Type Aliases
Any function that can be called with any arguments and return any value.

