log method

  1. @override
List<String> log(
  1. LogEvent event
)
override

Is called every time a new LogEvent is sent and handles printing or storing the message.

Implementation

@override
List<String> log(LogEvent event) {
  var realLogs = _realPrinter.log(event);
  return realLogs.map((s) => '${_prefixMap[event.level]}$s').toList();
}