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

Commit

Permalink
feat(electron): enable deprecation and warning traces during development
Browse files Browse the repository at this point in the history
  • Loading branch information
devinus committed Feb 20, 2019
1 parent 4cebb04 commit fb15074
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ember-electron/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -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';

Expand Down

0 comments on commit fb15074

Please sign in to comment.