| 66 | } |
| 67 | |
| 68 | type moduleLeveled struct { |
| 69 | levels map[string]Level |
| 70 | backend Backend |
| 71 | formatter Formatter |
| 72 | once sync.Once |
| 73 | } |
| 74 | |
| 75 | // AddModuleLevel wraps a log backend with knobs to have different log levels |
| 76 | // for different modules. |
nothing calls this directly
no outgoing calls
no test coverage detected