MCPcopy Create free account
hub / github.com/ContentSquare/chproxy / Fatalf

Function Fatalf

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

Fatalf prints fatal message according to a format and exits program

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

Source from the content-addressed store, hash-verified

78
79// Fatalf prints fatal message according to a format and exits program
80func Fatalf(format string, args ...interface{}) {
81 s := fmt.Sprintf(format, args...)
82 fatalLogger.Output(outputCallDepth, mask(s)) // nolint
83 os.Exit(1)
84}
85
86type regexReplacer struct {
87 regex *regexp.Regexp

Callers 7

TestMainFunction · 0.92
mainFunction · 0.92
newAutocertManagerFunction · 0.92
newListenerFunction · 0.92
serveTLSFunction · 0.92
serveFunction · 0.92
loadConfigFunction · 0.92

Calls 1

maskFunction · 0.85

Tested by 1

TestMainFunction · 0.74