paypal / gatt

Gatt is a Go package for building Bluetooth Low Energy peripherals
BSD 3-Clause "New" or "Revised" License
1.14k stars 285 forks source link

Too many logs - How to set the logging level? #105

Open kranthisai opened 5 years ago

kranthisai commented 5 years ago

Hi, I am seeing too many logs..

2019/04/06 11:16:05 DATA: [ 9F FE 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ] 2019/04/06 11:16:05 DATA: [ 9F FE 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ] 2019/04/06 11:16:06 DATA: [ 9F FE 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ]

How can i set logging level to disable these logs?

Thanks

nelsw commented 5 years ago

Looking to clean up my logs as well ... a QD fix is to comment out lines 5 & 134 in adv.go of github.com/paypal/gatt