1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 01:39:44 +01:00

use log.debug

This commit is contained in:
frankiebee 2017-10-04 23:07:40 -07:00
parent 7a9e2aa4f0
commit 5eca4223b2

View File

@ -28,7 +28,7 @@ global.addEventListener('activate', function (event) {
event.waitUntil(global.clients.claim())
})
console.log('inside:open')
log.debug('inside:open')
// // state persistence
@ -37,7 +37,7 @@ const dbController = new DbController({
})
loadStateFromPersistence()
.then((initState) => setupController(initState))
.then(() => console.log('MetaMask initialization complete.'))
.then(() => log.debug('MetaMask initialization complete.'))
.catch((err) => console.error('WHILE SETTING UP:', err))
//
@ -95,7 +95,7 @@ function setupController (initState, client) {
//
connectionListener.on('remote', (portStream, messageEvent) => {
console.log('REMOTE CONECTION FOUND***********')
log.debug('REMOTE CONECTION FOUND***********')
connectRemote(portStream, messageEvent.data.context)
})