make it easier to filter clientside logs
parent
a3eff2728e
commit
26faf72df8
|
@ -158,7 +158,7 @@ define([
|
|||
var done = function () {
|
||||
clearTimeout(timeout);
|
||||
if (btime) {
|
||||
console.log("Compiling [" + url + "] took " + (+new Date() - btime) + "ms");
|
||||
console.info("Compiling [" + url + "] took " + (+new Date() - btime) + "ms");
|
||||
}
|
||||
cb();
|
||||
};
|
||||
|
|
|
@ -1346,7 +1346,7 @@ define([
|
|||
console.log(parsed);
|
||||
return;
|
||||
} else {
|
||||
console.log(parsed);
|
||||
//console.log(parsed);
|
||||
}
|
||||
Util.fetch(parsed.href, waitFor(function (err, arraybuffer) {
|
||||
if (err) { return void console.log(err); }
|
||||
|
|
|
@ -52,7 +52,7 @@ define(['/api/config'], function (ApiConfig) {
|
|||
};
|
||||
|
||||
var createFavicon = function () {
|
||||
console.log("creating favicon");
|
||||
console.debug("creating favicon");
|
||||
var fav = document.createElement('link');
|
||||
var attrs = {
|
||||
id: 'favicon',
|
||||
|
|
|
@ -126,7 +126,7 @@ define([
|
|||
|
||||
var onMessage = function (data) {
|
||||
// data = { type: 'type', content: {msg: 'msg', hash: 'hash'} }
|
||||
console.log(data.type, data.content);
|
||||
console.debug(data.type, data.content);
|
||||
pushMessage(data);
|
||||
if (!history[data.type]) { history[data.type] = []; }
|
||||
history[data.type].push(data.content);
|
||||
|
|
Loading…
Reference in New Issue