trace method

  1. @override
void trace(
  1. dynamic message, {
  2. String? tag,
  3. Object? error,
  4. StackTrace? stackTrace,
})

Logs a message with LogLevel.TRACE.

Use this for the most fine-grained logging level, helpful for tracing code paths or investigating rare edge cases.

Example:

logger.trace('Entering method process()', tag: 'Pipeline');

Implementation

@override
void trace(dynamic message, {String? tag, Object? error, StackTrace? stackTrace}) {
  listener.onLog(LogLevel.TRACE, message, error: error, stackTrace: stackTrace, tag: tag);
}