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

Function Fatal

grpclog/grpclog.go:88–92  ·  grpclog/grpclog.go::Fatal

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

(args ...any)

Source from the content-addressed store, hash-verified

86// Fatal logs to the FATAL log. Arguments are handled in the manner of fmt.Print.
87// It calls os.Exit() with exit code 1.
88func Fatal(args ...any) {
89 internal.LoggerV2Impl.Fatal(args...)
90 // Make sure fatal logs will exit.
91 os.Exit(1)
92}
93
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.

Callers

nothing calls this directly

Calls 1

FatalMethod · 0.65

Tested by

no test coverage detected