本文介绍了将自定义信息添加到HockeyApp崩溃报告中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我将iOS应用程序与HockeyApp平台集成在一起.一切正常,但是我需要向崩溃报告中添加一些额外的信息,例如来自NSLog的文本.有可能的?我不想使用外部框架(NSLogger,CocoaLumberjack),数据库,服务器,Webapis.我想将有关崩溃的所有信息都存储在一个地方-HockeyApp.是否有人遇到过这样的问题或/并且开发了一些解决方案?任何帮助,我们将不胜感激!

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!

提前谢谢!

推荐答案

这看起来像您正在寻找的东西:

This looks like what you are looking for:

  1. 设置所选的日志记录框架
  2. 实施[BITCrashManagerDelegate applicationLogForCrashManager:]
  3. 返回日志数据
  1. Setup the logging framework of choice
  2. Implement [BITCrashManagerDelegate applicationLogForCrashManager:]
  3. Return the log data

请参见 HockeyApp文档

这篇关于将自定义信息添加到HockeyApp崩溃报告中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

05-19 22:40