show Debug activated message by default

This commit is contained in:
Philipp Kunz 2015-12-02 14:01:47 +01:00
parent 1a3aa040e4
commit bdf0c9b066
2 changed files with 2 additions and 0 deletions

View File

@ -15,6 +15,7 @@ var smartDebug = {
}, },
activate: function (debugArg) { activate: function (debugArg) {
debugActive = debugArg; debugActive = debugArg;
beautylog.log("#### ".rainbow + "!!! ".red + "Debugging has been activated!".blue + " !!!".red + " ####".rainbow);
}, },
getStatus: function () { getStatus: function () {
return debugActive; return debugActive;

View File

@ -16,6 +16,7 @@ var smartDebug = {
}, },
activate: function(debugArg:boolean){ activate: function(debugArg:boolean){
debugActive = debugArg; debugActive = debugArg;
beautylog.log("#### ".rainbow + "!!! ".red + "Debugging has been activated!".blue + " !!!".red + " ####".rainbow);
}, },
getStatus: function(){ getStatus: function(){
return debugActive; return debugActive;