Skip to content

Commit

Permalink
Merge pull request #48 from pelias/stringify-json-logs
Browse files Browse the repository at this point in the history
fix(json-logs): use stringify option
  • Loading branch information
orangejulius authored Sep 1, 2018
2 parents 7ff7e6c + fc702f1 commit fa8a7c0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ function CreateLogger( name, loggerOpts ){
new winston.transports.Console( {
colorize: pkgConfig.colorize,
json: pkgConfig.json,
stringify: true,
timestamp: pkgConfig.timestamp,
level: pkgConfig.level,
label: name
Expand Down

0 comments on commit fa8a7c0

Please sign in to comment.