MarshalText marshals the AtomicLevel to a byte slice. It uses the same text representation as the static zapcore.Levels ("debug", "info", "warn", "error", "dpanic", "panic", and "fatal").
()
| 149 | // text representation as the static zapcore.Levels ("debug", "info", "warn", |
| 150 | // "error", "dpanic", "panic", and "fatal"). |
| 151 | func (lvl AtomicLevel) MarshalText() (text []byte, err error) { |
| 152 | return lvl.Level().MarshalText() |
| 153 | } |