Skip to main content

Print

Logs a message at level Info on the standard logger.

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

Logs a message at level Info on the standard logger. This function is used to output informational messages to the console or other configured logging destinations.

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 will be formatted and output by the logger.