MCPcopy
hub / github.com/coredns/coredns / logf

Function logf

plugin/pkg/log/log.go:43–45  ·  view source on GitHub ↗

logf calls log.Printf prefixed with level.

(level, format string, v ...any)

Source from the content-addressed store, hash-verified

41
42// logf calls log.Printf prefixed with level.
43func logf(level, format string, v ...any) {
44 golog.Print(level, fmt.Sprintf(format, v...))
45}
46
47// log calls log.Print prefixed with level.
48func log(level string, v ...any) {

Callers 5

DebugfFunction · 0.85
InfofFunction · 0.85
WarningfFunction · 0.85
ErrorfFunction · 0.85
FatalfFunction · 0.85

Calls 1

PrintMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…