使用AnkoLogger级别以外的“信息”
我在我的Android项目中使用AnkoLogger
,但它只适用于日志级别是info
,其他级别什么都不记录,但内置的Android Log
效果很好。 我能做些什么来使用AnkoLogger
作为内置的替代品?
这里的问题似乎是Log.isLoggable
的使用,默认情况下只记录级别INFO
及以上。
目前关闭的anko项目中出现了一个问题 :
AnkoLogger
使用Log.isLoggable()
,忽略VERBOSE和DEBUG
日志级别。 你可以在这里阅读更多关于它的信息: https : //mobiarch.wordpress.com/2012/05/11/proper-logging-from-android-application/ 。
- (x..x).map在kotlin android中做什么?
- MediaStore.Images从拇指Uri / id获取完整图像
- 匕首2在Kotlin未解决的参考DaggerXXXSub
- 如何从strings.xml中的字符串数组中找到变量名
- 在Kotlin中按多个字段排序收集
- Anko忽略了在样式中定义的layout_margin
- 在哪种情况下,Kotlin构造函数参数中需要val / var?
- MQTT Android打盹模式(Android 7.0)
- TransformException重复org / intellij / lang / annotations / Identifier.class的条目