filter method

  1. @override
bool filter(
  1. NoticeRecord record
)
override

Returns false if the record should be filtered out.

Implementation

@override
bool filter(NoticeRecord record) {
  return record.level.priority >= level.priority;
}