typeContextLoggerinterface{// Debugf is for reporting information about internal operations.Debugf(ctxcontext.Context,formatstring,args...interface{})}
ContextLogger is the interface used for debug logging. By default, it is unused.
Logger
typeLoggerinterface{// Debugf is for reporting information about internal operations.Debugf(formatstring,args...interface{})}
Logger is the interface used for debug logging. By default, it is unused.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-05 UTC."],[[["\u003cp\u003eThe latest version of the \u003ccode\u003ecloudsqlconn\u003c/code\u003e package is 1.16.0, as indicated by the "(latest)" label in the version list.\u003c/p\u003e\n"],["\u003cp\u003eThe document provides a comprehensive list of all available versions of the \u003ccode\u003ecloudsqlconn\u003c/code\u003e package, ranging from version 0.1.0 up to the most current version 1.16.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eContextLogger\u003c/code\u003e and \u003ccode\u003eLogger\u003c/code\u003e are interfaces utilized for debug logging, and \u003ccode\u003eContextLogger\u003c/code\u003e is the preferred interface.\u003c/p\u003e\n"],["\u003cp\u003eDetailed information and older versions of this package can be found on pkg.go.dev.\u003c/p\u003e\n"]]],[],null,["# Package cloud.google.com/go/cloudsqlconn/debug (v1.16.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.16.0 (latest)](/go/docs/reference/cloud.google.com/go/cloudsqlconn/latest/debug)\n- [1.15.0](/go/docs/reference/cloud.google.com/go/cloudsqlconn/1.15.0/debug)\n- [1.14.2](/go/docs/reference/cloud.google.com/go/cloudsqlconn/1.14.2/debug)\n- [1.13.2](/go/docs/reference/cloud.google.com/go/cloudsqlconn/1.13.2/debug)\n- [1.12.1](/go/docs/reference/cloud.google.com/go/cloudsqlconn/1.12.1/debug)\n- [1.11.1](/go/docs/reference/cloud.google.com/go/cloudsqlconn/1.11.1/debug)\n- [1.10.1](/go/docs/reference/cloud.google.com/go/cloudsqlconn/1.10.1/debug)\n- [1.9.0](/go/docs/reference/cloud.google.com/go/cloudsqlconn/1.9.0/debug)\n- [1.8.1](/go/docs/reference/cloud.google.com/go/cloudsqlconn/1.8.1/debug)\n- [1.7.0](/go/docs/reference/cloud.google.com/go/cloudsqlconn/1.7.0/debug)\n- [1.6.0](/go/docs/reference/cloud.google.com/go/cloudsqlconn/1.6.0/debug)\n- [1.5.2](/go/docs/reference/cloud.google.com/go/cloudsqlconn/1.5.2/debug)\n- [1.4.3](/go/docs/reference/cloud.google.com/go/cloudsqlconn/1.4.3/debug)\n- [1.3.0](/go/docs/reference/cloud.google.com/go/cloudsqlconn/1.3.0/debug)\n- [1.2.4](/go/docs/reference/cloud.google.com/go/cloudsqlconn/1.2.4/debug)\n- [1.1.1](/go/docs/reference/cloud.google.com/go/cloudsqlconn/1.1.1/debug)\n- [1.0.1](/go/docs/reference/cloud.google.com/go/cloudsqlconn/1.0.1/debug)\n- [0.5.2](/go/docs/reference/cloud.google.com/go/cloudsqlconn/0.5.2/debug)\n- [0.4.0](/go/docs/reference/cloud.google.com/go/cloudsqlconn/0.4.0/debug)\n- [0.3.1](/go/docs/reference/cloud.google.com/go/cloudsqlconn/0.3.1/debug)\n- [0.2.0](/go/docs/reference/cloud.google.com/go/cloudsqlconn/0.2.0/debug)\n- [0.1.0](/go/docs/reference/cloud.google.com/go/cloudsqlconn/0.1.0/debug) \n**Note:** To get more information about this package, such as access to older versions, view [this package on pkg.go.dev](https://pkg.go.dev/cloud.google.com/go/cloudsqlconn/debug). \n\nContextLogger\n-------------\n\n type ContextLogger interface {\n \t// Debugf is for reporting information about internal operations.\n \tDebugf(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, format https://pkg.go.dev/builtin#string, args ...interface{})\n }\n\nContextLogger is the interface used for debug logging. By default, it is unused. \n\nLogger\n------\n\n type Logger interface {\n \t// Debugf is for reporting information about internal operations.\n \tDebugf(format https://pkg.go.dev/builtin#string, args ...interface{})\n }\n\nLogger is the interface used for debug logging. By default, it is unused.\n\nPrefer ContextLogger instead."]]