Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Adding doc about `timestamp` and `json` options for File Transport

  • Loading branch information...
commit d60051da61178c8351d9d0c8418d93aa714dd59c 1 parent cb518af
Nao Iizuka iizukanao authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  README.md
2  README.md
View
@@ -469,10 +469,12 @@ The File transport should really be the 'Stream' transport since it will accept
* __level:__ Level of messages that this transport should log.
* __silent:__ Boolean flag indicating whether to suppress output.
* __colorize:__ Boolean flag indicating if we should colorize output.
+* __timestamp:__ Boolean flag indicating if we should prepend output with timestamps (default false).
* __filename:__ The filename of the logfile to write output to.
* __maxsize:__ Max size in bytes of the logfile, if the size is exceeded then a new file is created.
* __maxFiles:__ Limit the number of files created when the size of the logfile is exceeded.
* __stream:__ The WriteableStream to write output to.
+* __json:__ If true, messages will be logged as JSON (default true).
*Metadata:* Logged via util.inspect(meta);
Please sign in to comment.
Something went wrong with that request. Please try again.