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

Interface Leveled

level.go:55–59  ·  view source on GitHub ↗

Leveled interface is the interface required to be able to add leveled logging.

Source from the content-addressed store, hash-verified

53// Leveled interface is the interface required to be able to add leveled
54// logging.
55type Leveled interface {
56 GetLevel(string) Level
57 SetLevel(Level, string)
58 IsEnabledFor(Level, string) bool
59}
60
61// LeveledBackend is a log backend with additional knobs for setting levels on
62// individual modules to different levels.

Callers 14

GetLevelFunction · 0.65
GetLevelMethod · 0.65
TestLevelModuleLevelFunction · 0.65
TestMultiLoggerLevelFunction · 0.65
BenchmarkLogLeveledFunction · 0.65
BenchmarkLogLogBackendFunction · 0.65
IsEnabledForMethod · 0.65

Implementers 2

multiLoggermulti.go

Calls

no outgoing calls

Tested by

no test coverage detected