Skip to main content

Interface: RotatingFileTransportOptions

Options for configuring a rotating file log transport.

Extends​

Properties​

file​

file: string

The path to the file where log entries will be written.

Inherited from​

FileTransportOptions.file


formatter​

formatter: LogFormatter

The formatter to use for processing log entries.

Inherited from​

FileTransportOptions.formatter


maxFiles​

maxFiles: number

The maximum number of rotated log files to keep.


maxSize​

maxSize: number

The maximum size of the log file in bytes before rotation occurs.


minLevel​

minLevel: LogLevel

The minimum log level to process.

Inherited from​

FileTransportOptions.minLevel