PostHog / posthog-js-lite

Reimplementation of posthog-js to be as light and modular as possible.
https://posthog.com/docs/libraries
MIT License
70 stars 36 forks source link

fix: add debug logs only in debug mode #84

Closed neilkakkar closed 1 year ago

neilkakkar commented 1 year ago

Problem

Fixes https://github.com/PostHog/posthog-node/issues/83

A proper fix for https://github.com/PostHog/posthog-js-lite/pull/44

Tested locally, in debug mode, debug logs show up. In non-debug mode, they don't show up.

Changes

Release info Sub-libraries affected

Bump level

Libraries affected

Changelog notes