RotatingFileTransportOptions
Hierarchy
- FileTransportOptions
- RotatingFileTransportOptions
Index
Properties
optionaleol
optionalformat
Function to format a log item into a message string. Default is transport dependent.
optionalgzip
Apply gzip compression to the write stream.
levels
List of log levels to only write messages for.
optionalmaxSize
Maximum file size before rotating file. Will create a backup and truncate the current file. Defaults to 10mb.
path
Absolute file system path for the intended log file.
rotation
Period in which to rotate files. Will append a timestamp to the rotated log file.
End of line character to append to a message. Defaults to
os.EOL
.