Package 

Interface Tracer

    • Method Summary

      Modifier and Type Method Description
      abstract Trace openTrace(String name) Opens a manual trace If you want automatic error-handling and closing, trace("").use { trace -> ...
      <T extends Any> T trace(String name, Function1<Trace, T> toTrace) Utility method to execute a command with a trace
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • openTrace

         abstract Trace openTrace(String name)

        Opens a manual trace If you want automatic error-handling and closing, trace("").use { trace -> ... } is suggested

      • trace

         <T extends Any> T trace(String name, Function1<Trace, T> toTrace)

        Utility method to execute a command with a trace

        Parameters:
        name - name of the trace
        toTrace - callback to execute with the trace