Access logs captured with os_log from within the iOS app

658 views Asked by At

As of 2021, is it possible to access the logs captured with the os_log within the iOS app programmatically, for example, to send the log archive over the network?

On the page I've linked, there is a line:

You can also access log messages programmatically using the OSLog framework.

Which leads to the OSLog framework page, available only on macOS 10.15+.

Is there any way to get the logs out on the iOS, without connecting the device to the computer and using the Console app, or asking a user to collect analytics and mail it to us?

1

There are 1 answers

0
Richard Topchii On BEST ANSWER

Yes, it's possible, available with iOS 15