lily
    Preparing search index...

    Interface LogEntry

    represents a single log entry with all associated metadata. this is the core data structure passed between loggers, transports, and formatters.

    interface LogEntry {
        args: unknown[];
        level: LogLevel;
        message: string;
        metadata?: Record<string, unknown>;
        scope: string[];
        timestamp: Date;
    }
    Index

    Properties

    args: unknown[]

    additional arguments passed to the logging method

    level: LogLevel

    the severity level of this log entry

    message: string

    the primary log message

    metadata?: Record<string, unknown>

    structured metadata attached to the logger or entry

    scope: string[]

    hierarchical scope path (e.g., ['app', 'auth', 'login'])

    timestamp: Date

    when this log entry was created