log method
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();
}