Optional
colorizeOptional
consoleThe log level used by the console output.
Optional
fileThe moment.js compatible date string to use when naming files.
An object mapping a file name to a logging level. The file will contain
all logs for that level inclusive up to the highest level. (info
will contain warn
, error
etc)
Use %DATE%
to set the date of the file within the string.
Use the fileDatePattern
to set the date format.
Optional
jsonShould the logs be outputted in JSON format, for consumption by a collector.
Optional
maxThe number of files to keep before the last file is rotated. If not set, no files are deleted.
Optional
timestampTimestamp format used in the log output.
Should the logs color-code the level strings in the output.