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

Commit

Permalink
fix(logger): Actually show the output channel for logging
Browse files Browse the repository at this point in the history
  • Loading branch information
Christoph Bühler committed Jan 26, 2018
1 parent 7b1ce0e commit 246bd1c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/utilities/logger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ export default function winstonLogger(verbosity: keyof typeof levels, context: E
if (!process.env.CI && !process.env.EXT_DEBUG) {
const channel = window.createOutputChannel('TypeScript Hero');
context.subscriptions.push(channel);
channel.show();

const fileHandler = new transports.File({
level: ['info', 'debug'].indexOf(level) >= 0 ? level : 'info',
Expand Down

0 comments on commit 246bd1c

Please sign in to comment.