Level creates a child logger with the minimum accepted level set to level.
(lvl Level)
| 309 | |
| 310 | // Level creates a child logger with the minimum accepted level set to level. |
| 311 | func (l Logger) Level(lvl Level) Logger { |
| 312 | l.level = lvl |
| 313 | return l |
| 314 | } |
| 315 | |
| 316 | // GetLevel returns the current Level of l. |
| 317 | func (l Logger) GetLevel() Level { |
no outgoing calls