Skip to main content

Debug

Logs a message at the Debug level using the standard logger.

def Debug(
ctx: context.Context,
args: ...interface{}
)

Logs a message at level Debug on the standard logger. This function is used to output debug-level information to the application's logs.

Parameters

NameTypeDescription
ctxcontext.ContextThe context for the log operation, which can carry deadlines, cancellation signals, and other request-scoped values.
args...interface{}The arguments to be logged. These can be any type and will be formatted by the logger.