log

abstract fun log(block: () -> String): Double

Logs the result of a measurement.

Return

The time taken to execute the block of code in seconds.

Parameters

block

The block of code to be executed and logged.