Level returns the minimum enabled log level.
()
| 115 | |
| 116 | // Level returns the minimum enabled log level. |
| 117 | func (lvl AtomicLevel) Level() zapcore.Level { |
| 118 | return zapcore.Level(int8(lvl.l.Load())) |
| 119 | } |
| 120 | |
| 121 | // SetLevel alters the logging level. |
| 122 | func (lvl AtomicLevel) SetLevel(l zapcore.Level) { |