MCPcopy
hub / github.com/op/go-logging / moduleLeveled

Struct moduleLeveled

level.go:68–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66}
67
68type 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.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected