Skip to content

Commit

Permalink
Merge ef6392c into 04c0113
Browse files Browse the repository at this point in the history
  • Loading branch information
mujz committed Jul 9, 2016
2 parents 04c0113 + ef6392c commit f54070b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,10 @@ winston.add(CloudWatchTransport, {
region: '...'
},
formatLogItem: function (item) {
return item.level + ': ' + item.message + ' ' + JSON.stringify(item.meta)
return {
message: item.level + ': ' + item.message + ' ' + JSON.stringify(item.meta),
timestamp: item.date
}
}
})
```
Expand Down

0 comments on commit f54070b

Please sign in to comment.