Logger

fun interface Logger

Logger interface. Implement this to plug in Logcat, Timber, Crashlytics, etc.

Note: fun interface cannot have default parameter values — call-site null-safety is handled by the w/e extension wrappers below.

Functions

Link copied to clipboard
abstract fun log(level: KmpWorkerLogger.Level, message: String, throwable: Throwable?)