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

Update README.md to demonstrate enabling OSLog printing in Xcode 15. #530

Merged
merged 2 commits into from May 21, 2024

Conversation

WillSuo-Github
Copy link
Contributor

HI Every one:
I have updated the README to illustrate how to enable OSLog printing with color, subsystem, and category information in Xcode 15.
However, I haven't found a way to display colors when viewing files in the terminal. So I haven't replaced the second image.

@skreutzberger
Copy link
Collaborator

skreutzberger commented May 20, 2024

is this still valid with the reverted default to print?

@WillSuo-Github
Copy link
Contributor Author

Yes, it still works, but this README code will guide users to use the OSLog API. Should we remind users in the comments that if they do not want to use OSLog, they should replace it with print output?

@skreutzberger
Copy link
Collaborator

Yes, showing both ways and why and when they make sense and saying what is the default would be great.

@WillSuo-Github
Copy link
Contributor Author

Sure, I’ve updated the PR and added a note in the comments about the dependency on the OSLog API. Please review my PR. Thank you.

@skreutzberger skreutzberger merged commit 8a8eea6 into SwiftyBeaver:master May 21, 2024
2 checks passed
@skreutzberger
Copy link
Collaborator

thank you, it was merged.

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

Successfully merging this pull request may close these issues.

None yet

2 participants