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

Function Printf

log/log.go:123–125  ·  view source on GitHub ↗

Printf sends a log event using debug level and no extra field. Arguments are handled in the manner of fmt.Printf.

(format string, v ...interface{})

Source from the content-addressed store, hash-verified

121// Printf sends a log event using debug level and no extra field.
122// Arguments are handled in the manner of fmt.Printf.
123func Printf(format string, v ...interface{}) {
124 Logger.Debug().CallerSkipFrame(1).Msgf(format, v...)
125}
126
127// Ctx returns the Logger associated with the ctx. If no logger
128// is associated, a disabled logger is returned.

Callers 1

ExamplePrintfFunction · 0.92

Calls 3

MsgfMethod · 0.80
CallerSkipFrameMethod · 0.80
DebugMethod · 0.65

Tested by 1

ExamplePrintfFunction · 0.74