NoOpBleLogger

No-op logger that discards all log messages.

Use this logger when you want to completely disable logging in the BLE-X library. This is more efficient than setting LogLevel.NONE as it avoids the level check overhead entirely.

Usage Example

// Completely disable logging
BleLog.logger = NoOpBleLogger

// Or use the convenience method
BleLog.disable()

See also

Functions

Link copied to clipboard
open override fun debug(tag: String, message: String)

No-op implementation.

Link copied to clipboard
open override fun error(tag: String, message: String, throwable: Throwable?)

No-op implementation.

Link copied to clipboard
open override fun info(tag: String, message: String)

No-op implementation.

Link copied to clipboard
open override fun verbose(tag: String, message: String)

No-op implementation.

Link copied to clipboard
open override fun warn(tag: String, message: String)

No-op implementation.