Skip to content

Commit

Permalink
Merge pull request #47 from pelias/allow-configuring-json
Browse files Browse the repository at this point in the history
feat(console-log): Allow configuring logs as JSON
  • Loading branch information
orangejulius authored Sep 1, 2018
2 parents b825c3b + 9f02774 commit 7ff7e6c
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 @@ -15,6 +15,7 @@ function CreateLogger( name, loggerOpts ){
transports: [
new winston.transports.Console( {
colorize: pkgConfig.colorize,
json: pkgConfig.json,
timestamp: pkgConfig.timestamp,
level: pkgConfig.level,
label: name
Expand Down

0 comments on commit 7ff7e6c

Please sign in to comment.