Skip to main content

Print

Logs a message at level Info on the standard logger.

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

Logs a message at level Info on the standard logger. This function is used 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.
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.