Trace.Companion
Keywords: net.corda.core.context.Trace.Companion class
Date: 2023-09-18

net.corda.core.context

## Class Trace.Companion

- net.corda.core.context.Trace.Companion

- Enclosing class:
    Trace

      public static class Trace.Companion

- - ### Method Detail

    - #### newInstance

          @JvmStatic
           @NotNull
          public Trace newInstance(@NotNull
                                                        net.corda.core.context.Trace.InvocationId invocationId,
                                                        @NotNull
                                                        net.corda.core.context.Trace.SessionId sessionId)

      Creates a trace using a `InvocationId.newInstance` with default arguments and a `class Trace.SessionId` matching the value and timestamp from the invocation id..

      See Also:
        `InvocationId.newInstance`, `class Trace.SessionId`