Skip to main content

Infof

Logs a message at level Info on the standard logger.

def Infof(
ctx: context.Context,
format: string,
args: ...interface{}
)

Logs a message at level Info on the standard logger. This function is used to record informational messages that provide general insights into the application's operation.

Parameters

NameTypeDescription
ctxcontext.ContextThe context for the log operation, which can carry deadlines, cancellation signals, and other request-scoped values.
formatstringThe format string for the log message, similar to fmt.Printf.
args...interface{}The arguments to be formatted according to the format string.