I'm using bunyan
to send logs to Google Cloud Logger. Regular logs are not show up there. Or they do show up but as one-liners. If a regular consonle.log
will be logging an object, then each property of this object will be displayed as a separated line, which is really hard to read.
The bunyan
let me output only the title as the log for Google Cloud Logger and if I pass an object, then this object will be displayed as the log payload, which is good and easy to read.
I'm using a 3rd party npm package. It outputs it's own console.log
s. How do I make bunyan to intercept those logs?