@ac-essentials/app-util
    Preparing search index...

    Type Alias FilePrinterOptions

    FilePrinterOptions: TextStreamPrinterOptions & RotateLogFilesOptions & {
        cutOffFileSize?: number | null;
        maxFileAgeMs?: number | null;
        useCompression?: boolean;
    }

    Type Declaration

    • OptionalcutOffFileSize?: number | null

      The maximum size (in bytes) a log file can reach before being rotated. Default is 10 MiB.

      Set to null or 0 to disable size-based rotation.

    • OptionalmaxFileAgeMs?: number | null

      The maximum age (in milliseconds) a log file can reach before being rotated.

      Default is null (disabled).

    • OptionaluseCompression?: boolean

      Whether to compress rotated log files using gzip.