Interface FileTransportConfig

File transport configuration interface

interface FileTransportConfig {
    enabled?: boolean;
    filename?: string;
    json?: boolean;
    level?: string;
    maxFiles?: number;
    maxsize?: number;
    zippedArchive?: boolean;
}

Properties

enabled?: boolean

File transport enabled, default: false

filename?: string

Log file name, default: logs/netin-app.log

json?: boolean

Store in JSON format, default: false

level?: string

File log level, default: info

maxFiles?: number

Max number of files, default: 10

maxsize?: number

Max file size, default: 10 Mb

zippedArchive?: boolean

Store in zipped format, default: false