Errorln
Logs a message at level Error on the standard logger.
def Errorln(
ctx: context.Context,
args: ...interface{}
)
Logs a message at level Error on the standard logger. This function is used to record error conditions or failures within the application.
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. These will be printed with a newline character at the end. |