不記錄在我的build.gradle中,logcat的是可見的,當SLF4J的Android 1.7 +上的logcat
debugCompile 'org.slf4j:slf4j-android:1.6.1-RC1'
然而,當版本更新,有logcat的
debugCompile 'org.slf4j:slf4j-android:1.7.14'
我堅持與1.6.1-RC1版本。爲什麼SLF4J-的Android的新版本:1.7.x未在logcat的記錄?
我使用SLF4J在這樣的代碼
private static final Logger LOG = org.slf4j.LoggerFactory.getLogger(TAG);
LOG.debug("variable = {}", var);
參考
http://www.slf4j.org/news.html(更新日誌)