Skip to content

Commit 7ff7e6c

Browse files
authored
Merge pull request #47 from pelias/allow-configuring-json
feat(console-log): Allow configuring logs as JSON
2 parents b825c3b + 9f02774 commit 7ff7e6c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ function CreateLogger( name, loggerOpts ){
1515
transports: [
1616
new winston.transports.Console( {
1717
colorize: pkgConfig.colorize,
18+
json: pkgConfig.json,
1819
timestamp: pkgConfig.timestamp,
1920
level: pkgConfig.level,
2021
label: name

0 commit comments

Comments
 (0)