What would be the best way to write log statements to a file or database in an iPhone application?
Ideally, NSLog() output could be redirected to a file using freop
I've successfully used freopen(...) on the phone to re-direct output to my own file.