Interface DateFileAppender

Hierarchy

  • DateFileAppender

Properties

alwaysIncludePattern?: boolean
compress?: boolean
encoding?: string
fileNameSep?: string
filename: string
flags?: string
keepFileExt?: boolean
layout?: Layout
mode?: number
numBackups?: number
pattern?: string

The following strings are recognised in the pattern:

  • yyyy : the full year, use yy for just the last two digits
  • MM : the month
  • dd : the day of the month
  • hh : the hour of the day (24-hour clock)
  • mm : the minute of the hour
  • ss : seconds
  • SSS : milliseconds (although I'm not sure you'd want to roll your logs every millisecond)
  • O : timezone (capital letter o)
type: "dateFile"

Generated using TypeDoc