Skip to content

Commit fa8a7c0

Browse files
authored
Merge pull request #48 from pelias/stringify-json-logs
fix(json-logs): use stringify option
2 parents 7ff7e6c + fc702f1 commit fa8a7c0

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
@@ -16,6 +16,7 @@ function CreateLogger( name, loggerOpts ){
1616
new winston.transports.Console( {
1717
colorize: pkgConfig.colorize,
1818
json: pkgConfig.json,
19+
stringify: true,
1920
timestamp: pkgConfig.timestamp,
2021
level: pkgConfig.level,
2122
label: name

0 commit comments

Comments
 (0)