trace method Null safety

void trace(
  1. String? correlationId,
  2. String component,
  3. String operation,
  4. int duration
)

Records an operation trace with its name and duration

  • correlationId (optional) transaction id to trace execution through call chain.
  • component a name of called component
  • operation a name of the executed operation.
  • duration execution duration in milliseconds.