Exemplo n.º 1
0
func (e *BigcommerceAppLogEvent) Suppress(
	settings_ settings.SettingsInterface,
) bool {
	suppressedLevels := settings_.GetBigcommerceAppSuppressLogLevels()

	for _, logLevel := range suppressedLevels {
		if e.LogLevel == logLevel {
			return true
		}
	}

	return false
}