Best Practices for Error Logging and/or reporting for iPhone

后端 未结 4 808
甜味超标
甜味超标 2020-12-12 11:49

When I do web development, I use a custom made logger that catches fatal errors and appends a trace to a file and displays a message to the user. I can occasionally glance

4条回答
  •  抹茶落季
    2020-12-12 12:21

    I highly recommend Robbie Hanson's CocoaLumberJack: https://github.com/robbiehanson/CocoaLumberjack

    It is very flexible and powerful maybe even a bit excessive if abused. Supports different levels of logging. Logging to files can be turned on with a couple of lines of code and even be sent over the network.

提交回复
热议问题