viaduct
0.3.0
compiler
/
io.github.aplcornell.viaduct.util
/
duration
duration
fun
<
R
>
KLogger
.
duration
(
operationName
:
String
,
operation
:
(
)
->
R
)
:
R
Calls
operation
and returns the result. Additionally, logs its running time using
KLogger.info
.