Skip to content

Commit

Permalink
fix: logger ts/js
Browse files Browse the repository at this point in the history
  • Loading branch information
Frank Gu committed Aug 5, 2020
1 parent a75401f commit e326ce0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion logger.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ const Logger = require('@voiceflow/logger');
// eslint-disable-next-line no-process-env
const options = ['local', 'test'].includes(process.env.NODE_ENV) ? { level: 'info', stackTrace: true, pretty: true } : {};

const log = new Logger(options);
// eslint-disable-next-line new-cap
const log = new Logger.default(options);

module.exports = log;

0 comments on commit e326ce0

Please sign in to comment.