trace method Null safety

void trace(
  1. String? correlationId,
  2. String message,
  3. [List? args]
)

Logs a low-level debug information for troubleshooting.

  • correlationId (optional) transaction id to trace execution through call chain.
  • message a human-readable message to log.
  • args arguments to parameterize the message.