handle method
Handles incoming record.
Implementation
@override
void handle(Record record) {
final filter = _filter;
final shouldFilter = filter != null && !filter(record);
if (shouldFilter) {
return;
}
_sink.add(_formatter(record));
}