Errorf
Logs a message at level Error on the standard logger.
def Errorf(
ctx: context.Context,
format: string,
args: ...interface{}
)
Logs a message at level Error on the standard logger.
Parameters
| Name | Type | Description |
|---|---|---|
| ctx | context.Context | The context for the logger operation, which can carry request-scoped values and deadlines. |
| 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. |