make it easier to filter clientside logs

This commit is contained in:
ansuz
2019-09-09 17:23:35 +02:00
parent a3eff2728e
commit 26faf72df8
4 changed files with 4 additions and 4 deletions

View File

@@ -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);