8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 061ddc4 commit b1741f0Copy full SHA for b1741f0
tools/gh-graphql/assets/js/consolelog.js
@@ -1,7 +1,12 @@
1
// A console.log() replacement, a boolean variable
2
// is used for enabling or disabling its output.
3
+
4
+// this variable name uses the underscore in its
5
+// name to avoid potential conflicts with other
6
+// code that might use 'debug' for its own purposes.
7
const _debug = true;
8
9
+// nothing fancy, just the basics...
10
function consolelog(msg) {
11
if (_debug === true) {
12
console.log(msg);
0 commit comments