Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@
"dependencies": {
"bunyan": "^1.8.5",
"bunyan-format": "^0.2.1",
"console": "0.5.2",
"hide-secrets": "1.1.0",
"le_js": "git://github.com/nason/le_js.git#7a75be7c1dd2438e3f1183a68bd2162b80bc94d8",
"le_node": "^1.7.0",
Expand Down
3 changes: 3 additions & 0 deletions src/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ import ClientConsoleLogger from './util/client/consoleLogger';
import ClientLogentriesLogger from './util/client/logentriesLogger';
import ClientRollbarLogger, { isGlobalRollbarConfigured } from './util/client/rollbarLogger';

// Safe console access for oldIE
import console from 'console';

/**
* A logger than can be used in browsers
* @param {Object} config - we-js-logger config
Expand Down
3 changes: 3 additions & 0 deletions src/util/client/consoleLogger.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
import bunyan from 'bunyan';

// Safe console access for oldIE
import console from 'console';

/**
* Pretty logging to `console` for client applications
*/
Expand Down