diff --git a/src/drivers/chrome/js/driver.js b/src/drivers/chrome/js/driver.js index aa30aed3b..fdea9141c 100644 --- a/src/drivers/chrome/js/driver.js +++ b/src/drivers/chrome/js/driver.js @@ -19,7 +19,7 @@ * Log messages to console */ log: function(args) { - console.log(args.message); + console.log('[wappalyzer ' + args.type + '] ' + args.message); }, /** diff --git a/src/drivers/firefox/driver.js b/src/drivers/firefox/driver.js index 4e60afbe4..71ef1a2d7 100644 --- a/src/drivers/firefox/driver.js +++ b/src/drivers/firefox/driver.js @@ -347,7 +347,7 @@ * Log messages to console */ log: function(args) { - console.log(args.message); + console.log('[wappalyzer ' + args.type + '] ' + args.message); }, /** diff --git a/src/drivers/firefox/lib b/src/drivers/firefox/lib index 6e4ec63d6..b6bc25523 100644 --- a/src/drivers/firefox/lib +++ b/src/drivers/firefox/lib @@ -217,7 +217,7 @@ var wappalyzer = (function() { message = JSON.stringify(message); } - driver('log', { message: '[wappalyzer ' + type + '] ' + message, type: type }); + driver('log', { message: message, type: type }); }, /** diff --git a/src/wappalyzer.js b/src/wappalyzer.js index 6e4ec63d6..b6bc25523 100644 --- a/src/wappalyzer.js +++ b/src/wappalyzer.js @@ -217,7 +217,7 @@ var wappalyzer = (function() { message = JSON.stringify(message); } - driver('log', { message: '[wappalyzer ' + type + '] ' + message, type: type }); + driver('log', { message: message, type: type }); }, /**