如何将BluetoothDevice日志静音?

时间:2017-08-07 16:35:54

标签: android bluetooth

在我的使用蓝牙的应用程序中,日志充斥着数百个" D / BluetoothDevice:mAddress :(地址)"线。假设我可以忽略它们,我该如何过滤掉这些线?

1 个答案:

答案 0 :(得分:1)

显然,这已经解决了未来版本的问题。 Android(这里是希望它的奥利奥)。请参阅https://issuetracker.google.com/issues/37088105

上的问题

你可以使用一些正则表达式让你的logcat跳过/弃/忽略这些事件,也许为Estimote信标扫描引发的github问题(https://github.com/Estimote/Android-SDK/issues/35)可能有帮助吗?

不幸的是,对于现有的Android版本来说,它并没有解决任何问题,看起来我们会坚持下去:(