MCPcopy
hub / github.com/google/gvisor / Fatalf

Function Fatalf

runsc/cmd/util/util.go:127–131  ·  view source on GitHub ↗

Fatalf logs the same way as Errorf() does, plus *exits* the process.

(format string, args ...any)

Source from the content-addressed store, hash-verified

125
126// Fatalf logs the same way as Errorf() does, plus *exits* the process.
127func Fatalf(format string, args ...any) {
128 Errorf(format, args...)
129 // Return an error that is unlikely to be used by the application.
130 os.Exit(128)
131}

Callers 15

ExecuteMethod · 0.92
ExecuteMethod · 0.92
RunFunction · 0.92
newEmitterFunction · 0.92
userLogEmitterFunction · 0.92
ExecuteMethod · 0.92
ExecuteMethod · 0.92
ExecuteMethod · 0.92
ExecuteMethod · 0.92
ExecuteMethod · 0.92
validateOpenFDsFunction · 0.92
ExecuteMethod · 0.92

Calls 1

ErrorfFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…