Interface LogRecordOptions

Options for LogRecord.

interface LogRecordOptions {
    args: unknown[];
    level: LogLevel;
    loggerName: string;
    msg: string;
}

Properties

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.