func (l *Logger) HasFilters(flag string) bool {
	l.Lock()
	defer l.Unlock()

	if l.Filters == nil {
		return false
	}
	filters, ok := l.Filters[flag]
	if !ok {
		return false
	}
	return len(filters) > 0
}
// HasFilters returns if a logger has filters for a given flag.
HasFilters returns if a logger has filters for a given flag.
// HasFilters returns if a logger has filters for a given flag .
func (l *Logger) HasFilters(flag string) bool {
	l.Lock()
	defer l.Unlock()
	if l.Filters == nil {
		return false
	}
	filters, ok := l.Filters[flag]
	if !ok {
		return false
	}
	return len(filters) > 0
}
func ( l * Logger ) HasFilters ( flag string ) bool { l . Lock ( ) defer l . Unlock ( ) if l . Filters == nil { return false } filters , ok := l . Filters [ flag ] if ! ok { return false } return len ( filters ) > 0 }
HasFilters returns if a logger has filters for a given flag.
HasFilters returns if a logger has filters for a given flag .