Post

Replies

Boosts

Views

Activity

Reply to How to use a freestanding macro with OSLog
eskimo you must never have written a real app lol. You can't wrap the system log at all right now, because if you do the callsite info will be of the code that wrapped the log statement. Which means in Xcode 15 you have to pick between getting the log integration or a functional logger where you can store things in files so users can send you bug reports with logs from their devices, etc. The complete oversight in structured logging in Xcode 15 / iOS 17 is baffling. It's like Apple never heard of logging to a file before.
Topic: App & System Services SubTopic: Core OS Tags:
Oct ’23