Label error messages in Firefox and Chrome only

main
Elbert Alias 9 years ago
parent b146ecb314
commit 0bff623f17

@ -19,7 +19,7 @@
* Log messages to console * Log messages to console
*/ */
log: function(args) { log: function(args) {
console.log(args.message); console.log('[wappalyzer ' + args.type + '] ' + args.message);
}, },
/** /**

@ -347,7 +347,7 @@
* Log messages to console * Log messages to console
*/ */
log: function(args) { log: function(args) {
console.log(args.message); console.log('[wappalyzer ' + args.type + '] ' + args.message);
}, },
/** /**

@ -217,7 +217,7 @@ var wappalyzer = (function() {
message = JSON.stringify(message); message = JSON.stringify(message);
} }
driver('log', { message: '[wappalyzer ' + type + '] ' + message, type: type }); driver('log', { message: message, type: type });
}, },
/** /**

@ -217,7 +217,7 @@ var wappalyzer = (function() {
message = JSON.stringify(message); message = JSON.stringify(message);
} }
driver('log', { message: '[wappalyzer ' + type + '] ' + message, type: type }); driver('log', { message: message, type: type });
}, },
/** /**