From 17534d253a0ec60bf0e3cc7503362c0790e58dd1 Mon Sep 17 00:00:00 2001 From: jeffreypriebe Date: Sat, 13 Jun 2015 13:27:53 -0700 Subject: [PATCH] Fixed incorrect example log callback signature. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 44561ae08..211a58555 100644 --- a/README.md +++ b/README.md @@ -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. }); ```