Search code examples
iphoneiosipadios6

How can I capture iPhone console logs programmatically?


I have seen two applications in Appstore named Console (Console) and System Console (System Console) to capture iPhone console logs. Does anyone have idea on how they are doing it? If so can you guide me so that I can capture them programmatically.


Solution

  • Yes you can access them (seen it with HockeyApp) with the ASL, the Apple System Log facility

    http://www.cocoanetics.com/2011/03/accessing-the-ios-system-log/