Documentation
    Preparing search index...

    Type Alias FileTargetOptions

    Options accepted by the file target options

    type FileTargetOptions = {
        destination: string | number;
        mkdir?: boolean;
        append?: boolean;
    }
    Index

    Properties

    destination: string | number

    File path or file descriptor for the log destination

    mkdir?: boolean

    Whether to create directories if they don't exist

    append?: boolean

    Whether to append to existing file or overwrite