MCPcopy
hub / github.com/coredns/coredns / Fatal

Function Fatal

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

Fatal is equivalent to log.Print, but prefixed with "[FATAL] ", and calling os.Exit(1).

(v ...any)

Source from the content-addressed store, hash-verified

88// Fatal is equivalent to log.Print, but prefixed with "[FATAL] ", and calling
89// os.Exit(1).
90func Fatal(v ...any) { log(fatal, v...); os.Exit(1) }
91
92// Fatalf is equivalent to log.Printf, but prefixed with "[FATAL] ", and calling
93// os.Exit(1)

Callers

nothing calls this directly

Calls 1

logFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…