Skip to main content

Fatalln

Logs a message at level Fatal on the standard logger.

def Fatalln(
ctx: context.Context,
args: ...interface{}
) - > null

Logs a message at level Fatal on the standard logger. This function is used to record critical errors that cause the application to terminate.

Parameters

NameTypeDescription
ctxcontext.ContextThe context for the logging operation, which can carry deadlines, cancellation signals, and other request-scoped values.
args...interface{}The arguments to be logged. These can be any type and will be formatted by the logger.

Returns

TypeDescription
nullThis function does not return any value; it causes the program to exit after logging the message.