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

Method GetLevel

log.go:317–319  ·  view source on GitHub ↗

GetLevel returns the current Level of l.

()

Source from the content-addressed store, hash-verified

315
316// GetLevel returns the current Level of l.
317func (l Logger) GetLevel() Level {
318 return l.level
319}
320
321// Sample returns a logger with the s sampler.
322func (l Logger) Sample(s Sampler) Logger {

Callers 1

TestGetLevelFunction · 0.80

Calls

no outgoing calls

Tested by 1

TestGetLevelFunction · 0.64