LoggerScopeKt
Functions
Link copied to clipboard
public final static T scope<T extends Any>(LoggerScope $self, String name, Function1<LoggerScope, T> body)
Creates temporary sub-scope of current LoggerScope with custom name post-fixed to the new scope. The sub-scope is discarded once the body invocation is finished.
Link copied to clipboard
Measures the duration of a scope.