zcash-android-wallet-sdk / cash.z.wallet.sdk.ext / SilentTwig

SilentTwig

class SilentTwig : Twig

A tiny log that does nothing. No one hears this twig fall in the woods.

Constructors

<init>

A tiny log that does nothing. No one hears this twig fall in the woods.

SilentTwig()

Functions

twig

Shh.

fun twig(logMessage: String): Unit

Extension Functions

twig

Times a tiny log. Execute the block of code on the clock.

fun <R> Twig.twig(logMessage: String, block: () -> R): R

twigTask

A tiny log task. Execute the block of code with some twigging around the outside. For silent twigs, this adds a small amount of overhead at the call site but still avoids logging.

fun <R> Twig.twigTask(logMessage: String, block: () -> R): R