posthog-node
posthog-node copied to clipboard
use a logging library or allow overriding console.log
What
posthog-node package includes hard-coded console.debug calls. Can this be removed? They are flooding our logs with unstructured logs.
See conversation here: https://posthog.slack.com/archives/C03JJKLEC8L/p1670622461832859 (internal)
Proposed solution
Either use a logging library (eg Pino or Roarr) or allow overriding console.log