log/severity/severity.go
Function SeverityInclude
has 7 return statements (exceeds 4 allowed). Open
Open
func SeverityInclude(filterLevel, itemLevel string) (bool, error) {
filterLevelGood, err := Parse(filterLevel)
if err != nil || filterLevelGood == SeverityDisabled {
return false, err
}