Skip to content

Commit

Permalink
Fixed incorrect example log callback signature.
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffreypriebe committed Jun 13, 2015
1 parent b575e7b commit 17534d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,7 @@ It is also worth mentioning that the logger also emits an 'error' event which yo
Every logging method described in the previous section also takes an optional callback which will be called only when all of the transports have logged the specified message.

``` js
logger.info('CHILL WINSTON!', { seriously: true }, function (err, level, msg, meta) {
logger.info('CHILL WINSTON!', { seriously: true }, function (err, data) {
// [msg] and [meta] have now been logged at [level] to **every** transport.
});
```
Expand Down

0 comments on commit 17534d2

Please sign in to comment.