func NewCustomFilter(levels ...Level) *CustomFilter {
	filter := &CustomFilter{}
	filter.Add(levels...)
	return filter
}
NewCustomFilter creates a filter supporting discrete log levels.
package logr
import (
	"sync"
)
type CustomFilter struct {
	mux    sync.RWMutex
	levels map[LevelID]Level
}