Dave DeLong on Nostr: There is zero benefit to using the OSLog APIs in your own app. The logs are hard to ...
There is zero benefit to using the OSLog APIs in your own app. The logs are hard to get in your own app, and *impossible* to get from previous app runs. You can't get logs from a device except via a sysdiagnose, and no developer wants to walk a customer through that arduous, privacy-invasive process.
OSLog is an API that Apple made to solve Apple's problems. It is not a developer-friendly API.
Use the Logging package instead: https://github.com/apple/swift-log
https://twit.social/@kharrison/112253393743175498
OSLog is an API that Apple made to solve Apple's problems. It is not a developer-friendly API.
Use the Logging package instead: https://github.com/apple/swift-log
https://twit.social/@kharrison/112253393743175498