newInstance

fun newInstance(invocationId: Trace.InvocationId = InvocationId.newInstance(), sessionId: Trace.SessionId = SessionId(invocationId.value, invocationId.timestamp)): Trace

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