Getting Console Logs for My Cocoa App

Posted by enchilada on Stack Overflow See other posts from Stack Overflow or by enchilada
Published on 2010-04-04T11:05:10Z Indexed on 2010/04/04 11:13 UTC
Read the original article Hit count: 254

Filed under:
|

I'm making a crash reporter, and I can read the crash reporter files just fine within ~/Library/Logs/CrashReporter.

However, I want to also send along with the report any console (NSLog) information that was printed to the console (the stuff that one can see both in Xcode and in Console.app). However, I want to make sure I get only the logs for my app. I don't want logs from other apps.

How does one get the console logs for a specific app?

© Stack Overflow or respective owner

Related posts about cocoa

Related posts about objective-c