Logging to a file on the iPhone

后端 未结 5 1582
暗喜
暗喜 2020-11-30 20:45

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

5条回答
  •  有刺的猬
    2020-11-30 21:21

    I've successfully used freopen(...) on the phone to re-direct output to my own file.

提交回复
热议问题