Skip to content
This repository has been archived by the owner on Apr 13, 2021. It is now read-only.

Commit

Permalink
Read.me: document default level value of info
Browse files Browse the repository at this point in the history
Indicate that the default log level of a transport is info (not 'everything', as is currently implied).
  • Loading branch information
Erwin Wessels committed Mar 21, 2014
1 parent fae8957 commit c1d7a14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -308,7 +308,7 @@ Setting the level for your logging message can be accomplished in one of two way
winston.info("127.0.0.1 - there's no place like home");
```
Winston allows you to set a `level` on each transport that specifies the level of messages this transport should log. For example, you could log only errors to the console, with the full logs in a file:
Winston allows you to set a `level` on each transport that specifies the level of messages this transport should log. For example, you could log only errors to the console, with the full logs in a file (note that the default level of a transport is `info`):
``` js
var logger = new (winston.Logger)({
Expand Down

0 comments on commit c1d7a14

Please sign in to comment.