Skip to content

Commit 8a53198

Browse files
committed
Merge pull request #268 from sjdemartini/disable-logging-by-default
Disable console logging by default
2 parents e1ce7e2 + 4cb64e1 commit 8a53198

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/js/adapter_core.js

+5-5
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@
1919
module.exports.extractVersion = require('./utils').extractVersion;
2020
module.exports.disableLog = require('./utils').disableLog;
2121

22-
// Uncomment if you do not want any logging at all including the switch
23-
// statement below. Can also be turned off in the browser via
24-
// adapter.disableLog(true) but then logging from the switch statement below
25-
// will still appear.
26-
// require('./utils').disableLog(true);
22+
// Comment out the line below if you want logging to occur, including logging
23+
// for the switch statement below. Can also be turned on in the browser via
24+
// adapter.disableLog(false), but then logging from the switch statement below
25+
// will not appear.
26+
require('./utils').disableLog(true);
2727

2828
// Browser shims.
2929
var chromeShim = require('./chrome/chrome_shim') || null;

0 commit comments

Comments
 (0)