Skip to main content

Debugf

Logs a message at level Debug on the standard logger.

def Debugf(
ctx: context.Context,
format: string,
args: interface{}
)

Logs a message at level Debug on the standard logger. This function is used to output debugging information that can be helpful during development or troubleshooting.

Parameters​

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