Add custom information to HockeyApp crash report

别说谁变了你拦得住时间么 提交于 2019-12-10 18:37:33

问题


I integrated my iOS app with HockeyApp platform. Everything works properly, but I need to add some extra information, like texts from NSLog, to crash reports. It is possible? I don't want to use external frameworks (NSLogger, CocoaLumberjack), Databases, Servers, Webapis. I want to store everything information about crash in one place - HockeyApp. Did someone has problem like that or/and develop some solution? Any help is greatly appreciated!

Thanks in advance!


回答1:


This looks like what you are looking for:

  1. Setup the logging framework of choice
  2. Implement [BITCrashManagerDelegate applicationLogForCrashManager:]
  3. Return the log data

See the HockeyApp documentation



来源:https://stackoverflow.com/questions/29894666/add-custom-information-to-hockeyapp-crash-report

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!