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

Commit

Permalink
fix: use correct level for file handler
Browse files Browse the repository at this point in the history
  • Loading branch information
buehler committed Oct 28, 2017
1 parent ae143d7 commit 499b27f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/extension/utilities/winstonLogger.ts
Expand Up @@ -103,6 +103,7 @@ export default function winstonLogger(verbosity: keyof typeof levels, context: E
context.subscriptions.push(channel);

const fileHandler = new transports.File({
level: ['info', 'debug'].indexOf(level) >= 0 ? level : 'info',
exitOnError: false,
filename: 'typescript-hero.log',
dirname: context.extensionPath,
Expand Down

0 comments on commit 499b27f

Please sign in to comment.