diff options
Require loglevel singleton in each module that uses it
Diffstat (limited to 'app/scripts/background.js')
-rw-r--r-- | app/scripts/background.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/scripts/background.js b/app/scripts/background.js index 5878cd2e8..451b0d609 100644 --- a/app/scripts/background.js +++ b/app/scripts/background.js @@ -25,8 +25,7 @@ const getObjStructure = require('./lib/getObjStructure') const STORAGE_KEY = 'metamask-config' const METAMASK_DEBUG = process.env.METAMASK_DEBUG -window.log = log -log.setDefaultLevel(METAMASK_DEBUG ? 'debug' : 'warn') +log.setDefaultLevel(process.env.METAMASK_DEBUG ? 'debug' : 'warn') const platform = new ExtensionPlatform() const notificationManager = new NotificationManager() |