Skip to content

Commit

Permalink
Update dokka docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
ajalt committed Jun 29, 2016
1 parent 311e92d commit bee55fb
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ inline fun wtf(noinline message: () -> String) = Timber.wtf("%s", LazyString(mes
/** Log an assert exception and a message that will be evaluated lazily when the message is printed */
inline fun wtf(t: Throwable, noinline message: () -> String) = Timber.wtf(t, "%s", LazyString(message))

/** @suppress */
class LazyString(val initializer: () -> String) {
val string: String by lazy(initializer)
override fun toString() = string
Expand Down

0 comments on commit bee55fb

Please sign in to comment.