// SetLevelFive sets the LevelFive field's value.
559981
func (s *HierarchyPath) SetLevelFive(v *HierarchyGroupSummary) *HierarchyPath {
	s.LevelFive = v
	return s
}
619271
func setLogLevel(level Level, loggerName string, logLevels *gorivets.SortedSlice) *logLevelSetting {
	if level < 0 {
		return nil
	}
	var lls *logLevelSetting = &logLevelSetting{loggerName, level}
	idx, found := logLevels.Find(lls)
	if found {
		lls = logLevels.At(idx).(*logLevelSetting)
		lls.level = level
	} else {
		logLevels.Add(lls)
	}
	return lls
}
984714
func (s *CreateChannelInput) SetLogLevel(v string) *CreateChannelInput {
	s.LogLevel = &v
	return s
}
917920
func (logger *Logger) SetLevel(level Level) {
	atomic.StoreInt32((*int32)(&logger.level), int32(level))
}
28288
func (s *HierarchyPath) SetLevelOne(v *HierarchyGroupSummary) *HierarchyPath {
	s.LevelOne = v
	return s
}
110320
func (s *LoggingOptionsPayload) SetLogLevel(v string) *LoggingOptionsPayload {
	s.LogLevel = &v
	return s
}
490429
func (s *GetLoggingOptionsOutput) SetLogLevel(v string) *GetLoggingOptionsOutput {
	s.LogLevel = &v
	return s
}
1341365
func SetLevel(level LogLevel) LogLevel {
	logMux.Lock()
	defer logMux.Unlock()
	current := logLevel
	switch {
	case level <= LevelDebug:
		logLevel = LevelDebug
	case level >= LevelFatal:
		logLevel = LevelFatal
	default:
		logLevel = level
	}
	return current
}
34485
func SetLogLevel(level string) {
	switch strings.ToLower(level) {
	case "debug":
		log.SetLevel(log.DebugLevel)
	case "info":
		log.SetLevel(log.InfoLevel)
	case "warn":
		log.SetLevel(log.WarnLevel)
	case "error":
		log.SetLevel(log.ErrorLevel)
	default:
		log.Fatalf("Unknown level: %s", level)
	}
}
185985
func SetLevel(r, g, b byte, w io.Writer) error {
	return write(w, []byte{0x31, r, g, b, 0x00, 0xf0, 0x0f})
}
88373
func SetLevel(l Level) {
	if logger, ok := Log.(*Logger); ok {
		logger.Level = l
	}
}
930769
func (logger *Logger) SetLevel(level Level) {
	l, err := parseLevel(level)
	if err != nil {
		fmt.Printf("%v", err)
	}

	logger.mu.Lock()
	defer logger.mu.Unlock()
	logger.Level = l
}
85876
func SetLevel(ctx context.Context, hubAddress, zoneAddress, token string, level int32) error {
	if level == 0 {
		return setLevel(ctx, hubAddress, zoneAddress, token, 0)
	} else if level == 1 {
		return setLevel(ctx, hubAddress, zoneAddress, token, 1)
	} else {
		// 0 -> off, 1 -> on, if the light was set to 0 then you have to set a 1 first
		// before trying to set any other level
		err := setLevel(ctx, hubAddress, zoneAddress, token, 1)
		if err != nil {
			return err
		}
		return setLevel(ctx, hubAddress, zoneAddress, token, level)
	}
}
446673
func (s *AdmpubLogger) SetLevel(l core.LogLevel) {
	le := ``
	switch l {
	case 0:
		le = `Debug`
	case 1:
		le = `Info`
	case 2:
		le = `Warn`
	case 3:
		le = `Error`
	case 4:
		le = `Fatal`
	default:
		le = `Fatal`
	}
	s.level = l
	s.Logger.SetLevel(le)
	return
}
398696
func SetLevel(module string, level Level) {
	modlog.SetLevel(module, api.Level(level))
}
1019091
func SetLevel(level Level) error {
	log.Level = level
	err := log.Init(string(log.Log.Domain), numLogs)
	if err != nil {
		return e.Forward(err)
	}
	return nil
}
58339
func (s *LogTargetConfiguration) SetLogLevel(v string) *LogTargetConfiguration {
	s.LogLevel = &v
	return s
}