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