ParseLevel parse the level string and returns the logger level.
(lvl string)
| 216 | |
| 217 | // ParseLevel parse the level string and returns the logger level. |
| 218 | func ParseLevel(lvl string) (logrus.Level, error) { |
| 219 | return logrus.ParseLevel(lvl) |
| 220 | } |
| 221 | |
| 222 | // SetStringLevel enforce current log level. |
| 223 | func SetStringLevel(lvl string, defaultLevel logrus.Level) { |
no outgoing calls
no test coverage detected