mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-14 22:56:12 -04:00
Mute logging of BLE advertisement discovery for release builds
PiperOrigin-RevId: 453493406
This commit is contained in:
committed by
Copybara-Service
parent
7d3b6d7d82
commit
ccca7bef6f
@@ -457,10 +457,11 @@ void BleMedium::AdvertisementReceivedHandler(
|
||||
|
||||
ByteArray advertisement_data(data);
|
||||
|
||||
NEARBY_LOGS(INFO) << "Nearby BLE Medium 0xFEF3 Advertisement discovered. "
|
||||
"0x16 Service data: advertisement bytes= 0x"
|
||||
<< absl::BytesToHexString(advertisement_data.data())
|
||||
<< "(" << advertisement_data.size() << ")";
|
||||
NEARBY_LOGS(VERBOSE)
|
||||
<< "Nearby BLE Medium 0xFEF3 Advertisement discovered. "
|
||||
"0x16 Service data: advertisement bytes= 0x"
|
||||
<< absl::BytesToHexString(advertisement_data.data()) << "("
|
||||
<< advertisement_data.size() << ")";
|
||||
|
||||
std::string peripheral_name =
|
||||
uint64_to_mac_address_string(args.BluetoothAddress());
|
||||
|
||||
Reference in New Issue
Block a user