open class CompositeTwig : Twig
Since there can only ever be one trunk on the bush of twigs, this class lets you cheat and make that trunk be a bundle of twigs.
<init> |
Since there can only ever be one trunk on the bush of twigs, this class lets you cheat and make that trunk be a bundle of twigs. CompositeTwig(twigBundle: MutableList<Twig>) |
plus |
Bundles twigs together open operator fun plus(twig: Twig): Twig |
twig |
Log the message. Simple. open fun twig(logMessage: String): Unit |
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 |