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

Function newCallerHook

context.go:465–467  ·  view source on GitHub ↗
(skipFrameCount int)

Source from the content-addressed store, hash-verified

463}
464
465func newCallerHook(skipFrameCount int) callerHook {
466 return callerHook{callerSkipFrameCount: skipFrameCount}
467}
468
469func (ch callerHook) Run(e *Event, level Level, msg string) {
470 switch ch.callerSkipFrameCount {

Callers 2

context.goFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected