Skip to content
Permalink
Browse files

feat(electron): enable deprecation and warning traces during development

  • Loading branch information...
devinus committed Feb 20, 2019
1 parent 4cebb04 commit fb15074c68a6004378d6839cc788bd8a018a0fd7
Showing with 3 additions and 0 deletions.
  1. +3 −0 ember-electron/main.js
@@ -18,6 +18,9 @@ const log = require('electron-log');
const unhandled = require('electron-unhandled');
const { is, appLaunchTimestamp } = require('electron-util');

process.traceDeprecation = !!is.development;
process.traceProcessWarnings = !!is.development;

log.transports.file.level = 'info';
log.transports.rendererConsole.level = 'info';

0 comments on commit fb15074

Please sign in to comment.
You can’t perform that action at this time.