I am attempting to find a logging framework for a Cocoa application, written in ObjC.
What I\'ve attempted so far:
You can intercept NSLog() messages (but not ASL in general) using _NSSetLogCStringFunction(). It’s documented here for WebObjects 4 for Windows, but it exists in current Mac OS and iOS releases too. However, it’s a private function that may go away at any time, so you shouldn’t rely on it in released code.
If you want to be able to safely do this for non-debug builds, I suggest duplicating this enhancement request on Radar.