public Tracer
@NotNull Trace openTrace(@NotNull java.lang.String name)
Opens a manual trace If you want automatic error-handling and closing, trace("").use { trace -> ... } is suggested
<T> T trace(@NotNull
java.lang.String name,
@NotNull
kotlin.jvm.functions.Function1<? super ca.nexapp.tracing.Trace,? extends T> toTrace)
Utility method to execute a command with a trace
name - name of the tracetoTrace - callback to execute with the traceexception - thrown by callback