Skip to main content

Infoln

Logs a message at level Info on the standard logger.

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

Logs a message at level Info on the standard logger. Callers use this to output informational messages to the log.

Parameters

NameTypeDescription
ctxcontext.ContextThe context for the log operation, which can carry deadlines, cancellation signals, and other request-scoped values.
args...interface{}The arguments to be logged. These will be printed with a newline at the end.