Companion

object Companion

Functions

Link copied to clipboard
fun setup(isDebug: Boolean, releaseSink: TimberLogger.ReleaseLogSink? = null)

Plants a Timber.DebugTree in debug builds, or a release tree that drops verbose/debug/info logs and forwards warnings and errors to releaseSink (e.g. a crash-reporting breadcrumb/non-fatal recorder). With no sink, release builds log nothing.