Skip to content

Commit 0c749ed

Browse files
committed
fix code sample in docs
1 parent cfeebe3 commit 0c749ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/winston.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ const ecsFormat = require('@elastic/ecs-winston-format')
160160
const logger = winston.createLogger({
161161
level: 'info',
162162
format: ecsFormat({ convertReqRes: true }), <1>
163-
transports:
163+
transports: [
164164
new winston.transports.Console()
165165
]
166166
})

0 commit comments

Comments
 (0)