How do you usually Tag log entries? (android)

后端 未结 13 1576
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-22 21:54

I assume most of you are aware of android.util.Log All logging methods accept \'String tag\' as a first argument.

And my question is How do you usually tag y

13条回答
  •  梦毁少年i
    2020-12-22 22:19

    For those users that visit this question:

    private val TAG:String = this.javaClass.simpleName;
    

提交回复
热议问题