Skip to content

Commit

Permalink
chore: message to specify where logs output to
Browse files Browse the repository at this point in the history
  • Loading branch information
meenahoda committed Nov 30, 2021
1 parent a956407 commit 80edb3c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/plugin/components/services/logger/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ class Logger {
? process.env.LOGGER
: (process.env.LOGGER === '*' ? 'trace' : 'info')
this.loggerOutputFilePath = generateFilePath(process.env.LOGGER_OUTPUT_DIR_PATH)
options.messages.detail(this.loggerOutputFilePath ? `Output logs to ${this.loggerOutputFilePath}` : 'No output file')
this.logger = this.createLogger()
}

Expand Down

0 comments on commit 80edb3c

Please sign in to comment.