MCPcopy
hub / github.com/grpc/grpc-go / Fatalf

Function Fatalf

grpclog/grpclog.go:96–100  ·  grpclog/grpclog.go::Fatalf

Fatalf logs to the FATAL log. Arguments are handled in the manner of fmt.Printf. It calls os.Exit() with exit code 1.

(format string, args ...any)

Source from the content-addressed store, hash-verified

94// Fatalf logs to the FATAL log. Arguments are handled in the manner of fmt.Printf.
95// It calls os.Exit() with exit code 1.
96func Fatalf(format string, args ...any) {
97 internal.LoggerV2Impl.Fatalf(format, args...)
98 // Make sure fatal logs will exit.
99 os.Exit(1)
100}
101
102// Fatalln logs to the FATAL log. Arguments are handled in the manner of fmt.Println.
103// It calls os.Exit() with exit code 1.

Callers

nothing calls this directly

Calls 1

FatalfMethod · 0.65

Tested by

no test coverage detected