Getting Console Logs for My Cocoa App
- by enchilada
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?