loup-v / beacons

Flutter beacons plugin for Android and iOS.
Apache License 2.0
78 stars 54 forks source link

Never ending console output on android #7

Closed adamfuller closed 6 years ago

adamfuller commented 6 years ago

When using the plugin there is a continuous stream of the following output:

...
D/ScanRecord( 5830): parseFromBytes
D/ScanRecord( 5830): first manudata for manu ID
D/ScanRecord( 5830): parseFromBytes
D/ScanRecord( 5830): first manudata for manu ID
D/ScanRecord( 5830): parseFromBytes
D/ScanRecord( 5830): first manudata for manu ID
D/ScanRecord( 5830): parseFromBytes
D/ScanRecord( 5830): first manudata for manu ID
D/ScanRecord( 5830): parseFromBytes
D/ScanRecord( 5830): first manudata for manu ID
...

This doesn't affect anything but makes debugging anything else extremely difficult.

There is a new output at least every second.

I would love if there is a way to suppress these messages.

lukaspili commented 6 years ago

I will add an API to control the log level. For ref: https://altbeacon.github.io/android-beacon-library/javadoc/index.html

lukaspili commented 6 years ago

Added Beacons.configure() API.

vinceramcesoliveros commented 5 years ago

It still annoys me when I debug my app and Beacons.configure() doesn't work well when used in a function.