/// var beautylog = require("beautylog"); var colors = require("colors"); var debugActive = false; var debugsmart = { log: function (message) { if (debugActive) { beautylog.log("Debug:".zebra + ' ' + message); } }, activate: function (debugArg) { debugActive = debugArg; } }; module.exports = debugsmart;