Interface LogEvent

Log event interface

interface LogEvent {
    args: any;
    exception?: Error;
    level: LogLevel;
    message: string;
    properties: {
        [key: string]: any;
    };
    timestamp: Date;
}

Properties

args: any

The data of the log event

exception?: Error

The exception

level: LogLevel

The log level

message: string

The message

properties: {
    [key: string]: any;
}

The properties of the log event

timestamp: Date

The timestamp of the log event