Open
Description
Is your feature request related to a problem?
During development it would be quite handy if we could disable the actual sending of events and only log what would have been send.
This will make implementing PostHog events easier and wont pollute the dashboard with test data.
Describe the solution you'd like
An option to prevent the sending of events and only log them.
Describe alternatives you've considered
Related sub-libraries
- All of them
- posthog-web
- posthog-node
- posthog-react-native
Additional context
Similar to #1320