-
-
Notifications
You must be signed in to change notification settings - Fork 318
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
Logging improvements #4020
Labels
Comments
7 tasks
I fixed point 5 with #4028. |
I just thought of one more point: 6: provide other log sinks besides just NSLog. For two reasons:
|
1 task
The chain of PRs starting with #4101 helps with points (4) and (6) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
As we continue developing the SDK, we might find the amount of logs emitted (esp in debug mode) grows unwieldy.
There are a couple things to consider implementing:
With (2), we'd eventually want:
a way to avoid evaluating the expressions in a log statement if it is below the currently configured log level. No point allocating and building a huge string just to throw it away. This would have a positive perf impact today as-is.
provide other log sinks besides just NSLog, like
printf
or writing to files.The text was updated successfully, but these errors were encountered: