WithLogger overrides the default logger.
(l cloudsql.Logger)
| 21 | |
| 22 | // WithLogger overrides the default logger. |
| 23 | func 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. |
no outgoing calls