Error
Logs a message at the Error level using the standard logger.
def Error(
ctx: context.Context,
args: interface{}
) - > None
Logs a message at level Error on the standard logger.
Parameters
| Name | Type | Description |
|---|---|---|
| ctx | context.Context | The context for the logging operation, which can carry deadlines, cancellation signals, and other request-scoped values. |
| args | interface{} | The arguments to be logged, which can be any type and will be formatted by the logger. |
Returns
| Type | Description |
|---|---|
None | This function does not return any value. |