Skip to content

Commit

Permalink
Wrap logging in debugging conditional
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremiahshirk committed Jul 27, 2012
1 parent a12c293 commit 1c0dcb7
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions api/util.js
@@ -0,0 +1,7 @@
function debug() {
if (global.monitis.debug) {
console.log(arguments);
}
}

module.exports.debug = debug;

0 comments on commit 1c0dcb7

Please sign in to comment.