Fork me on GitHub
#timbre
<
2022-03-09
>
zhuxun216:03:39

Has anyone tried using timbre in a WebWorker? Seems that all objects are shown as [Object object] in the browser console.

viesti12:09:13

Maybe this got worked out, but you could create an appender function that uses console.log

zhuxun216:03:21

Meanwhile js/console.log shows an expandable object as expected.

Jan K22:03:47

AFAIK timbre only logs strings so it turns everything into a string, it won't show any expandable objects in the console

viesti12:09:13

Maybe this got worked out, but you could create an appender function that uses console.log