Added logElapsedTime(String)
This commit is contained in:
parent
b7c760e26e
commit
7b0a936897
|
@ -151,6 +151,10 @@ open class Stopwatch(createStarted: Boolean = true) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
open fun logElapsedTime(loggedAction: String) {
|
||||||
|
logElapsedTime(loggedAction, log)
|
||||||
|
}
|
||||||
|
|
||||||
open fun logElapsedTime(loggedAction: String, logger: Logger) {
|
open fun logElapsedTime(loggedAction: String, logger: Logger) {
|
||||||
val formattedElapsedTime = formatElapsedTime()
|
val formattedElapsedTime = formatElapsedTime()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue