wiglenet / wigle-wifi-wardriving

Nethugging client for Android, from wigle.net
https://wigle.net
BSD 3-Clause "New" or "Revised" License
657 stars 204 forks source link

[ENH] Debug logging implementation #528

Closed Krzysztofz01 closed 1 year ago

Krzysztofz01 commented 2 years ago

There is a information in the TODO file to implement logging methods with debug log-level. There are no other implementation details so I interpreted it as follows. I have added two methods which are adapters for Android.util.Log debug-log methods, just like other methods in the Logging class. There is also a static field that decides if we will log in debug mode and a enableDebugLogging() method which can be used to activate debug logging (this method can be called in the application's entrypoint).