SetLevel alters the logging level.
(l zapcore.Level)
| 120 | |
| 121 | // SetLevel alters the logging level. |
| 122 | func (lvl AtomicLevel) SetLevel(l zapcore.Level) { |
| 123 | lvl.l.Store(int32(l)) |
| 124 | } |
| 125 | |
| 126 | // String returns the string representation of the underlying Level. |
| 127 | func (lvl AtomicLevel) String() string { |
no outgoing calls