我正在尝试在Fabrics系统(Android)上编写一条长文本日志消息,如下所示:
<ScrollView
style="@style/scrollDefaultStyle"
android:layout_height="wrap_content"
android:fillViewport="true"
>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<TabLayout .... />
<android.support.v4.view.ViewPager
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1" />
</LinearLayout>
</ScrollView>
消息被切断,无法找到扩展它的方法:
即使将消息添加为自定义属性,如@Alexizamerican建议,
Answers.getInstance().logCustom(new CustomEvent("Request:" + requestUrl + "\nResponse:" + json));
如何查看整条信息?
答案 0 :(得分:3)
最好将较长的消息包含为事件的自定义属性,而不是事件名称。例如:
(define (index->filter [pf : (IndexItemT -> boolean)] [index : IndexT]) : IndexT
....)
退房 https://docs.fabric.io/android/answers/answers-events.html#custom-attributes 了解更多详情。