Logging

I'm wondering what others are using for application level logging? Just
console.log
?
I woud like to enable some custom logging statements based on the environment, like
log.debug
,
log.warn

Has anyone tries libraries like Winston or Pino on workers?
Is there a recommendation?
Was this page helpful?