Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to disable sending events and only log them #1320

Open
TriPSs opened this issue Jul 25, 2024 · 2 comments
Open

Option to disable sending events and only log them #1320

TriPSs opened this issue Jul 25, 2024 · 2 comments

Comments

@TriPSs
Copy link

TriPSs commented Jul 25, 2024

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.

@benjackwhite
Copy link
Collaborator

benjackwhite commented Jul 25, 2024

This is cool idea. How would you expect the SDK config to look like for this?

@TriPSs
Copy link
Author

TriPSs commented Jul 25, 2024

The posthog-node SDK has a disabled option, maybe we can add that to? If debug is then enabled it will then log (like now) the events to the console.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants