File transport for winston that allows the log files to be rotated depending on size and time.
The File transport accepts a filename via the 'filename' option and uses that file as the primary logging target. Should the file grow past 'maxsize' bytes then the current log file is renamed and a new primary log tile is created. The name of the renamed log file is formated as such 'basenameYYYYMMDD[a-z].bak'.
Filename for the rotated file has changed to the following format from version 0.2.0 'basenameYYYYMMDD_HHmmSS_ms.bak' YYYY = Year MM = Month DD = Day HH = Hour mm = Minute SS = Seconds ms = milliseconds
Available options are:
Metadata: Logged via util.inspect(meta);