diff options
-rw-r--r-- | kvmd/web/js/tools.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kvmd/web/js/tools.js b/kvmd/web/js/tools.js index 37bbf451..f5748d87 100644 --- a/kvmd/web/js/tools.js +++ b/kvmd/web/js/tools.js @@ -12,12 +12,12 @@ var tools = new function() { this.debug = function(...args) { if (__debug) { - console.log(...args); + console.log("LOG/DEBUG", ...args); } }; - this.info = console.log; - this.error = console.error; + this.info = (...args) => console.log("LOG/INFO", ...args); + this.error = (...args) => console.error("LOG/ERROR", ...args); }; var $ = function(id) { return document.getElementById(id); }; |