SetLevel sets the logging level for the specified module. The module corresponds to the string specified in GetLogger.
(level Level, module string)
| 30 | // SetLevel sets the logging level for the specified module. The module |
| 31 | // corresponds to the string specified in GetLogger. |
| 32 | func SetLevel(level Level, module string) { |
| 33 | defaultBackend.SetLevel(level, module) |
| 34 | } |
| 35 | |
| 36 | // GetLevel returns the logging level for the specified module. |
| 37 | func GetLevel(module string) Level { |