MCPcopy
hub / github.com/rs/zerolog / init

Function init

ctx.go:9–13  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7var disabledLogger *Logger
8
9func init() {
10 SetGlobalLevel(TraceLevel)
11 l := Nop()
12 disabledLogger = &l
13}
14
15type ctxKey struct{}
16

Callers

nothing calls this directly

Calls 2

SetGlobalLevelFunction · 0.85
NopFunction · 0.85

Tested by

no test coverage detected