MCPcopy Index your code
hub / github.com/GoogleCloudPlatform/cloud-sql-proxy / WithLogger

Function WithLogger

cmd/options.go:23–27  ·  view source on GitHub ↗

WithLogger overrides the default logger.

(l cloudsql.Logger)

Source from the content-addressed store, hash-verified

21
22// WithLogger overrides the default logger.
23func WithLogger(l cloudsql.Logger) Option {
24 return func(c *Command) {
25 c.logger = l
26 }
27}
28
29// WithDialer configures the Command to use the provided dialer to connect to
30// Cloud SQL instances.

Callers 3

ExecuteMethod · 0.92
StartProxyFunction · 0.92
TestCommandOptionsFunction · 0.85

Calls

no outgoing calls

Tested by 2

StartProxyFunction · 0.74
TestCommandOptionsFunction · 0.68