error method

  1. @override
void error(
  1. String message
)
override

Logs a message with LogLevel.error.

Implementation

@override
void error(String message) {
  if (canLog(LogLevel.error)) {
    outSink.writeln('  [ERR] $message');
  }
}