예제 #1
0
파일: process.go 프로젝트: lovek323/bclog
func (e *ProcessLogEvent) Suppress(settings_ settings.SettingsInterface) bool {
	for _, name := range settings_.GetProcessSuppressNames() {
		if e.Name == name {
			return true
		}
		matched, _ := regexp.MatchString(name, e.Name)
		if matched {
			return true
		}
	}

	return false
}