Skip to main content

Fatalln

Logs a message at level Fatal on the standard logger.

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

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.
argsinterface{}The arguments to be logged. These will be formatted and output by the logger.