// Set writes a value
192688
func (m *InMem) Set(ctx context.Context, name string, value []byte) error {
	m.Lock()
	defer m.Unlock()

	m.data[name] = value
	return nil
}
1084942
func (value *StringListValue) Set(v string) error {
	*value = parseListWithEscapes(v, ',')
	return nil
}
526675
func (l *Level) Set(value string) error {
	v, err := strconv.Atoi(value)
	if err != nil {
		return err
	}
	l.set(Level(v))
	return nil
}
263357
func (i *StringSlice) Set(value string) error {
	*i = append(*i, value)
	return nil
}
939186
func (s *QuotedString) Set(val string) error {
	*s.value = trimQuotes(val)
	return nil
}
1344573
func (i *Uint16Flags) Set(value string) error {
	v, err := strconv.Atoi(value)
	if err != nil {
		return err
	}
	*i = append(*i, uint16(v))
	return nil
}
353498
func (i *Uint) Set(value uint) {
	i.lock.Lock()
	defer i.lock.Unlock()
	i.increment = value
}
139617
func (t *TimeValue) Set(s string) error {
	v, err := time.Parse(time.RFC3339, s)
	*t = TimeValue(v)
	return err
}
1123908
func (s Int64Slice) Set(v int64) {
	for i := range s {
		s[i] = v
	}
}
538931
func (me *Int) Set(s string) {
	v, _ := strconv.ParseInt(s, 0, 32)
	*me = Int(v)
}
1115030
func (i *Uint64) Set(value uint64) {
	i.lock.Lock()
	defer i.lock.Unlock()
	i.increment = value
}
528822
func (t *Time) Set(value string) error {
	timeValue, err := time.Parse(time.RFC3339Nano, value)
	if err != nil {
		return err
	}
	*t = Time(timeValue.UTC())
	return nil
}
278253
func (m *Map) Set(k []byte, v MapValue) {
	m.set(k, v, mapKeyOptions{
		copyKey:     true,
		finalizeKey: m.finalize != nil,
	})
}
622083
func (l *LogLevel) Set(s string) error {
	value, err := ParseLevel(s)
	if err != nil {
		return err
	}

	*l = value
	return nil
}
1264458
func (i *Int64Value) Set(s string) error {
	v, err := strconv.ParseInt(s, 0, 64)
	*i = Int64Value(v)
	return err
}
1123381
func (ia *Float64Value) Set(s string) error {
	i, err := strconv.ParseFloat(s, 64)
	if err != nil {
		return err
	}
	*ia = Float64Value(i)
	return nil
}
912247
func Set(key string, value interface{}, args ...interface{}) error {
	return std.Set(key, value, args...)
}