MbLog

object MbLog

Microblink SDK logging utility.

Provides a centralized logging mechanism for the SDK with configurable log levels and optional custom log writers.

See also

Types

Link copied to clipboard

Defines the verbosity levels for SDK logging.

Link copied to clipboard
interface LogWriter

Interface for custom log output handling.

Properties

Link copied to clipboard

Current log level for the SDK.

Link copied to clipboard

Optional custom log writer for redirecting log output.

Functions

Link copied to clipboard
inline fun d(context: Any, throwable: Throwable? = null, message: () -> String)

Logs a debug message.

Link copied to clipboard
inline fun e(context: Any, throwable: Throwable? = null, message: () -> String)

Logs an error message.

Link copied to clipboard
inline fun i(context: Any, throwable: Throwable? = null, message: () -> String)

Logs an informational message.

Link copied to clipboard
inline fun v(context: Any, throwable: Throwable? = null, message: () -> String)

Logs a verbose message.

Link copied to clipboard
inline fun w(context: Any, throwable: Throwable? = null, message: () -> String)

Logs a warning message.

Link copied to clipboard
inline fun wtf(context: Any, throwable: Throwable? = null, message: () -> String)

Logs a "What a Terrible Failure" message.