Skip to main content

Println

Logs a message at level Info on the standard logger.

def Println(
ctx: context.Context,
args: interface{}
) - > None

Logs a message at level Info on the standard logger. Call this function to output informational messages to the console or log file.

Parameters

NameTypeDescription
ctxcontext.ContextThe context for the logging operation, which can carry deadlines, cancellation signals, and other request-scoped values.
argsinterface{}A variadic list of arguments to be logged. These arguments are typically formatted and printed to the standard logger.

Returns

TypeDescription
NoneThis function does not return any value.