Use structured log

This commit is contained in:
Daniel Gasienica 2018-05-03 11:53:39 -04:00
parent 5c8f734e67
commit 0ce56eed87
2 changed files with 9 additions and 13 deletions

View file

@ -860,14 +860,12 @@
return Promise.resolve();
}
console.log(
'Updating expireTimer for conversation',
this.idForLogging(),
'to',
console.log("Update conversation 'expireTimer'", {
id: this.idForLogging(),
expireTimer,
'via',
source
);
source,
});
source = source || textsecure.storage.user.getNumber();
const timestamp = receivedAt || Date.now();