MCPcopy
hub / github.com/coredns/coredns / Warningf

Function Warningf

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

Warningf is equivalent to log.Printf, but prefixed with "[WARNING] ".

(format string, v ...any)

Source from the content-addressed store, hash-verified

78
79// Warningf is equivalent to log.Printf, but prefixed with "[WARNING] ".
80func Warningf(format string, v ...any) { logf(warning, format, v...) }
81
82// Error is equivalent to log.Print, but prefixed with "[ERROR] ".
83func Error(v ...any) { log(err, v...) }

Callers 12

setupFunction · 0.92
hostsParseFunction · 0.92
ParseStanzaFunction · 0.92
initMethod · 0.92
NewHealthCheckerFunction · 0.92
controlFunction · 0.92
setupFunction · 0.92
parseTLSFunction · 0.92
signAndLogFunction · 0.92
ServeDNSMethod · 0.92
setupFunction · 0.92
autoParseFunction · 0.92

Calls 1

logfFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…