We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b498606 commit e074b6bCopy full SHA for e074b6b
chromium/util.js
@@ -1,14 +1,16 @@
1
-VERB=1;
2
-DBUG=2;
3
-INFO=3;
4
-NOTE=4;
5
-WARN=5;
+"use strict";
+
+var VERB=1;
+var DBUG=2;
+var INFO=3;
6
+var NOTE=4;
7
+var WARN=5;
8
// FYI: Logging everything is /very/ slow. Chrome will log & buffer
9
// these console logs even when the debug tools are closed. :(
10
11
// TODO: Add an easy UI to change the log level.
12
// (Developers can just type DEFAULT_LOG_LEVEL=1 in the console)
-DEFAULT_LOG_LEVEL=4;
13
+var DEFAULT_LOG_LEVEL=4;
14
console.log("Hey developer! Want to see more verbose logging?");
15
console.log("Type this into the console: DEFAULT_LOG_LEVEL=1");
16
0 commit comments