posthog-node icon indicating copy to clipboard operation
posthog-node copied to clipboard

use a logging library or allow overriding console.log

Open camerondeleone opened this issue 2 years ago • 0 comments

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

camerondeleone avatar Dec 12 '22 22:12 camerondeleone