lily
    Preparing search index...

    Interface FileTransportOptions

    configuration options for file transport.

    interface FileTransportOptions {
        filename: string;
        formatter?: { format(entry: LogEntry): string };
        maxFiles?: number;
        maxSize?: number;
    }
    Index

    Properties

    filename: string

    path to the log file

    formatter?: { format(entry: LogEntry): string }

    formatter to use for log entries

    maxFiles?: number

    max number of rotated files to keep

    maxSize?: number

    max file size in bytes before rotation