Why Android TimingLogger is not able to print logs?
问题 I am trying to use TimingLogger for checking time consumed for a particular method and its statements. But Android TimingLogger is not able to print logs. 回答1: If the Log.isLoggable is not enabled to at least the Log.VERBOSE level for that tag at creation time then the addSplit and dumpToLog call will do nothing. If you simply looking for logs as explained in https://developer.android.com, you will not be able to see logs. So use below command in adb: adb shell setprop log.tag.MyTag VERBOSE