-
-
Notifications
You must be signed in to change notification settings - Fork 13
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
[Feature Request]: Replace print function with Logger #7
Comments
Thanks for your suggestion. I'm going to be using |
You're right, I was missing the thought about Log on non-Apple platforms. |
I am still going to implement your suggestion. I've come up with a potential solution to this by combining both As for pull requests, I am okay with that as well. |
The underlying parts of the logging have been completed. I'll be adding the logs over to the other files over time. Thanks again for the suggestion. I apologize for not doing much in the project until now, I've been extremely busy with other things. The pull request reopen and close over time until all of the places that need logs have been successfully added. |
I was too busy to reply here as well. My apologies. |
Summary
I want to use Logger to open the line where the log occurred in Xcode.
Pain points
I would like to switch from using the print function to using Logger in order to debug my project more efficiently.
As shown in the following session, the combination of Xcode15 and Logger allows for easier debugging.
https://developer.apple.com/wwdc23/10226
I am also currently adding an Extension to this Logger in the forked repository.
I have not done this because trying to replace all print statements would require changing a few more files. Definitions only.
Considered Alternatives
Compared to the print function used in debugging, this function is superior in that it can easily transition to the part in question.
Is this a breaking change?
No
Library Examples
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: