error function

void error(
  1. String message, [
  2. Iterable<Field>? fields
])

Logs a error (error) message.

Implementation

void error(String message, [Iterable<Field>? fields]) =>
    _logger.error(message, fields);