Interface FileLoggerOptions

interface FileLoggerOptions {
    client: Client<boolean>;
    datePattern?: string;
    directory?: string;
    maxFiles?: string;
    maxSize?: string;
    zippedArchive?: boolean;
}

Properties

client: Client<boolean>

The client that instantiated this logger

datePattern?: string

What date pattern should be used for log file names

directory?: string

What directory should log files be stored in?

maxFiles?: string

Whats the max amount of files to keep before deleting the oldest

maxSize?: string

Whats the max size of a file before it should rotate

zippedArchive?: boolean

Should rotated log files be archived, instead of deleted?