interface LogRecord<T> {
    context?: Record<string, unknown>;
    datetime: Date;
    displayName?: string;
    extra?: Record<string, unknown>;
    key: string;
    level: Level;
    message: string;
    metadata?: T;
    metadataStyles?: MetadataStyles<T>;
    styles?: Styles;
    symbol?: string;
}

Type Parameters

Properties

context?: Record<string, unknown>
datetime: Date
displayName?: string
extra?: Record<string, unknown>
key: string
level: Level
message: string
metadata?: T
metadataStyles?: MetadataStyles<T>
styles?: Styles
symbol?: string