How to extract the logs generated using logs api from device so I can send to a remote server? Are APIs available to read and compress log data from device?
How can i attach the logs to an api call
I was about to ask a similar question. My goal is to see faults (bugs) that occur in deployed apps on users' devices. Maybe someday these could be reported in Xcode along with the app crashes that are currently reported.
I am curious about the same thing. Our team currently uses CocoaLumberjack for logging because we are able to log to a file which can optionally be attached to an email when customers report a bug. Is that possible using the Swift unified logging APIs?
I'd check out this thread that has a bit of traction: https://developer.apple.com/forums/thread/650843