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

Use OSLog package to take advantage of Xcode 15 log formatting #3

Merged
merged 2 commits into from
Sep 22, 2023

Conversation

mplorentz
Copy link
Member

Xcode 15 brings some powerful new log filtering features, but you have to use OSLog.Logger to use them. This updates the package to replace os_log with OSLog.Logger and capture the caller's filename so the logs can be associated to the caller's file.

@mplorentz mplorentz requested a review from martindsq September 21, 2023 17:15
@martindsq
Copy link
Member

It looks nice! However, this increases the minimum supported version to iOS 14 and would make Planetary unable to use this package anymore right? Maybe we can use both os_log and OSLogger to continue supporting iOS 13

@mplorentz
Copy link
Member Author

@martindsq Planetary actually requires iOS 16 right now, so no worries there!

@martindsq
Copy link
Member

I got confused because the minimum version for the project is 13.4, but the target overrides it to 16. We are good to merge this then

@mplorentz mplorentz merged commit d25fb7d into main Sep 22, 2023
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.

2 participants