NoopLogger

A Logger implementation that discards all log messages.

This can be used when the host application does not want the SDK to emit any logs (e.g. strict production builds, security-sensitive use cases, or when logs are already captured elsewhere and duplication is unwanted).

All log calls (d, i, w, e) are no-ops.

Setting this logger is equivalent to disabling logging for the SDK, except for the reader's rendering engine, which writes to Logcat on its own.

Properties

Link copied to clipboard
open override val minLevel: LogLevel

The lowest severity this logger cares about. The SDK does not check it: every message reaches the logger, which does its own filtering.

Functions

Link copied to clipboard
open override fun d(message: String, t: Throwable?)

Logs at LogLevel.DEBUG: verbose detail useful while integrating.

Link copied to clipboard
open override fun e(message: String, t: Throwable?)

Logs at LogLevel.ERROR: a failure the SDK could not recover from.

Link copied to clipboard
open override fun i(message: String, t: Throwable?)

Logs at LogLevel.INFO: normal lifecycle and diagnostic events.

Link copied to clipboard
open override fun w(message: String, t: Throwable?)

Logs at LogLevel.WARN: something unexpected that the SDK recovered from.