Skip to main content

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

NameTypeDescription
ctxcontext.ContextThe context for the logger operation, which can carry request-scoped values and deadlines.
formatstringThe format string for the log message, similar to fmt.Printf.
args...interface{}The arguments to be formatted according to the format string.