MCPcopy
hub / github.com/devtron-labs/devtron / GetLogger

Function GetLogger

internal/util/BasicProviders.go:35–37  ·  view source on GitHub ↗

Deprecated: instead calling this method inject logger from wire

()

Source from the content-addressed store, hash-verified

33
34// Deprecated: instead calling this method inject logger from wire
35func GetLogger() *zap.SugaredLogger {
36 return logger
37}
38
39type LogConfig struct {
40 Level int `env:"LOG_LEVEL" envDefault:"0"` // default info

Callers 10

randTokenFunction · 0.92
randKeyFunction · 0.92
writeResponseFunction · 0.92
TestCheckListFunction · 0.92
getBaseServerDetailsFunction · 0.92
handleErrorFunction · 0.92
getAuthTokenFunction · 0.92
WriteJsonRespFunction · 0.92
WriteResponseFunction · 0.92

Calls

no outgoing calls

Tested by 1

TestCheckListFunction · 0.74

Used in the wild real call sites across dependent graphs

searching dependent graphs…