timberkt / com.github.ajalt.timberkt / timber.log.Timber.Tree

Extensions for timber.log.Timber.Tree

d

fun Tree.d(t: Throwable? = null, message: () -> String): Unit

Log a debug exception and a message that will be evaluated lazily when the message is printed

e

fun Tree.e(t: Throwable? = null, message: () -> String): Unit

Log an error exception and a message that will be evaluated lazily when the message is printed

i

fun Tree.i(t: Throwable? = null, message: () -> String): Unit

Log an info exception and a message that will be evaluated lazily when the message is printed

v

fun Tree.v(t: Throwable? = null, message: () -> String): Unit

Log a verbose exception and a message that will be evaluated lazily when the message is printed

w

fun Tree.w(t: Throwable? = null, message: () -> String): Unit

Log a warning exception and a message that will be evaluated lazily when the message is printed

wtf

fun Tree.wtf(t: Throwable? = null, message: () -> String): Unit

Log an assert exception and a message that will be evaluated lazily when the message is printed