handle method
Handles incoming record.
Implementation
@override
void handle(Record record) {
final filter = _filter;
final shouldFilter = filter != null && !filter(record);
if (shouldFilter) {
return;
}
final message = _formatter(record);
print(utf8.decode(message).trim());
}