Skip to main content

Debugln

Logs a message at level Debug on the standard logger.

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

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

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 will be printed with a newline character at the end.