Sets records filter.
Set filter behaves the same way as a Logger filter.
set filter(Filter filter) => _filter = filter;