isFiltered method
Whether the diagnostic should be filtered due to its level being lower
than minLevel
.
If minLevel
is DiagnosticLevel.hidden no diagnostics will be filtered.
If minLevel
is DiagnosticsLevel.off
all diagnostics will be filtered.
Implementation
bool isFiltered(DiagnosticLevel minLevel) => level.index < minLevel.index;