huxq17 / XRefreshView

一个万能的android下拉上拉刷新的框架,完美支持recyclerview
1.7k stars 501 forks source link

无用的log #35

Closed weixinjie closed 8 years ago

weixinjie commented 8 years ago

输出了太多无用的log,请问有没有开关

huxq17 commented 8 years ago

有,LogUtils.allowD = false;

weixinjie commented 8 years ago

看了下源码,里面好像不止用LogUtils打印的log XRefreshView中有直接用Log打印的。例如: Log.d("CustomView", "add footView" + ";mHeaderViewHeight=" + mHeaderViewHeight);

huxq17 commented 8 years ago

哪个文件里的,多少行?

huxq17 commented 7 years ago

3.5.6版本添加了开关, LogUtils.enableLog(false);这样就可以关掉所有log