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
| Name | Type | Description |
|---|---|---|
| ctx | context.Context | The context for the log operation, which can carry deadlines, cancellation signals, and other request-scoped values. |
| format | string | The format string for the log message, similar to fmt.Printf. |
| args | ...interface{} | The arguments to be formatted according to the format string. |