Skip to content
This repository has been archived by the owner on Oct 23, 2023. It is now read-only.

Commit

Permalink
Make our use of logger options consistent
Browse files Browse the repository at this point in the history
  • Loading branch information
rowanmanning committed Jul 11, 2022
1 parent c0da51e commit 60ab993
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/app-logger.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ class AppLogger extends Logger {
this.logger = new (this.deps.winston.Logger)({
transports: [
new (this.deps.winston.transports.Console)({
colorize: deps.colorize,
level: deps.level,
colorize: this.deps.colorize,
level: this.deps.level,
json: this.deps.json,
stringify: true // This ensures that any JSON logs are single-line
})
Expand Down

0 comments on commit 60ab993

Please sign in to comment.