Android Logcat旋转大小和旋转参数数 [英] Android Logcat Rotation Size and Number Of Rotation Parameters
问题描述
Android开发者!
Hi Android Developers!
我试图弄清楚logcat实用程序的-r和-n参数是什么意思.当我的日志文件大小超过-r千字节数时;它会删除我的日志文件的全部内容,使之为空,还是创建一个新文件以继续进行日志记录过程? -n的ofc到底是什么意思?
I am trying to figure out what -r and -n parameters for logcat utilitiy mean. When my log file exceeds -r number of kilobytes in size; it deletes the whole content of my log file which leaves it empty or creates a new file to continue with the logging process? What exactly does -n mean as well, ofc?
感谢您的提前答复, 伊尔克
Thanks for your replies in advance, Ilker
推荐答案
-n 指定轮换日志的最大数量
-r 指定日志文件应旋转的大小
-n specifies the maximum number of rotated logs
-r specifies the size after which the log file should rotate
请参见 http://developer.android.com/tools/debugging/debugging -log.html 了解更多信息.
这篇关于Android Logcat旋转大小和旋转参数数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!