如何查看日志的Gstreamer Android中? [英] How to view Gstreamer log in Android?

查看:498
本文介绍了如何查看日志的Gstreamer Android中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何查看日志功能的Andr​​oid环境的输出像GST_CAT_INFO,GST_DEBUG等?我可以在logcat中查看它们?

How to view the output of log functions like GST_CAT_INFO, GST_DEBUG etc in Android environment? Can I view them in logcat?

推荐答案

日志写入stderr。您可以将其重定向到一个文件(2>的debug.log),并将其下载到您的计算机。在那里,你可以用'少'或'多'刚读它。或者禁用ANSI颜色(GST_DEBUG_NO_COLOR = 1),并使用 GST-调试浏览器交互式地浏览它。

The log is written to stderr. You can redirect it to a file (2>debug.log) and download it to your computer. There you can just read it using 'less' or 'more'. Alternatively disable the ansi colors (GST_DEBUG_NO_COLOR=1) and use gst-debug-viewer to interactively browse it.

这篇关于如何查看日志的Gstreamer Android中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆