Warningf
Logs a message at level Warn on the standard logger.
def Warningf(
ctx: context.Context,
format: string,
args: ...interface{}
)
Logs a message at level Warn on the standard logger. Call this function to record warning messages with formatted output.
Parameters
| Name | Type | Description |
|---|---|---|
| ctx | context.Context | The context for the logger, used to retrieve the appropriate logger instance. |
| format | string | The format string for the log message, similar to fmt.Printf. |
| args | ...interface{} | Arguments to be formatted according to the format string. |