android logger的使用

1. 进入GitHub页面 https://github.com/orhanobut/logger

2. 在gradle里增加 

compile 'com.orhanobut:logger:1.15'

3 项目中引用

import com.orhanobut.logger.Logger;

4使用log功能

Logger.d("hello"); 
比原始的Log.D(TAG,"hello") 好用一点,会不会影响效率现在还没有进行测试
posted @ 2017-03-03 22:20  meetweb  阅读(514)  评论(0编辑  收藏  举报