handle method

  1. @override
void handle(
  1. Record record
)
override

Handles incoming record.

Implementation

@override
void handle(Record record) {
  if (_filter != null && !_filter!(record)) {
    return;
  }

  _controller.add(record);
}