disable
Disables all logging by setting the logger to NoOpBleLogger.
This is the most efficient way to disable logging as it completely bypasses all logging logic. Use setLevel with LogLevel.NONE if you want to temporarily disable logging while preserving the ability to re-enable it at a specific level.
Example
// Disable logging for release builds
if (!BuildConfig.DEBUG) {
BleLog.disable()
}Content copied to clipboard