SetLevel sets the log level for the given module.
(level Level, module string)
| 101 | |
| 102 | // SetLevel sets the log level for the given module. |
| 103 | func (l *moduleLeveled) SetLevel(level Level, module string) { |
| 104 | l.levels[module] = level |
| 105 | } |
| 106 | |
| 107 | // IsEnabledFor will return true if logging is enabled for the given module. |
| 108 | func (l *moduleLeveled) IsEnabledFor(level Level, module string) bool { |
nothing calls this directly
no outgoing calls
no test coverage detected