warn method

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

Logs a warning that may or may not have a negative impact.

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

Implementation

@override
void warn(String? correlationId, String message, [List? args]) {
  _formatAndWrite(LogLevel.Warn, correlationId, null, message, args);
}