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

Add deduping to probe.gl logger #129

Open
ilijapuaca opened this issue May 5, 2020 · 0 comments
Open

Add deduping to probe.gl logger #129

ilijapuaca opened this issue May 5, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@ilijapuaca
Copy link
Contributor

Per #112, we should add a way to avoid spamming the log with messages being logged within the render loop, just like the JS counterpart does. From @ibgreen:

Just a set recording which strings have already been logged. Could also be a map<string, timestamp> and only log if say 1 second has passed.
I believe the log function has an option.once. This is set by default on log.warn and log.error (the api is slightly different).

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

No branches or pull requests

1 participant