set Level
Sets the minimum log level and updates the logger accordingly.
This method creates a new AndroidBleLogger with the specified minimum level. If you're using a custom logger implementation, you should configure its level directly instead of using this method.
Example
// Development: show all logs
BleLog.setLevel(LogLevel.VERBOSE)
// Production: only show warnings and errors
BleLog.setLevel(LogLevel.WARN)
// Disable all logging
BleLog.setLevel(LogLevel.NONE)Content copied to clipboard
Parameters
level
The minimum LogLevel for log output.