From b2c68c9ea30a2842892ae0e03a5815d634a74357 Mon Sep 17 00:00:00 2001 From: Dan Finlay Date: Mon, 20 Feb 2017 14:30:58 -0800 Subject: [PATCH] Set default log levels --- mock-dev.js | 1 + ui-dev.js | 1 + ui/index.js | 1 + 3 files changed, 3 insertions(+) diff --git a/mock-dev.js b/mock-dev.js index 9025faf49..d316aeeba 100644 --- a/mock-dev.js +++ b/mock-dev.js @@ -28,6 +28,7 @@ const noop = function () {} const log = require('loglevel') window.log = log +log.setLevel('info') // // Query String diff --git a/ui-dev.js b/ui-dev.js index dbcc0dca7..0a66a2e8b 100644 --- a/ui-dev.js +++ b/ui-dev.js @@ -25,6 +25,7 @@ const Selector = require('./development/selector') // logger const log = require('loglevel') window.log = log +log.setLevel('info') // Query String const qs = require('qs') diff --git a/ui/index.js b/ui/index.js index 36de88c0d..844e6c417 100644 --- a/ui/index.js +++ b/ui/index.js @@ -8,6 +8,7 @@ module.exports = launchApp const log = require('loglevel') window.log = log +log.setLevel('warn') function launchApp (opts) { var accountManager = opts.accountManager