MCPcopy Create free account
hub / github.com/GoogleCloudPlatform/cloud-sql-proxy / NewStdLogger

Function NewStdLogger

internal/log/log.go:37–42  ·  view source on GitHub ↗

NewStdLogger create a Logger that uses out and err for informational and error messages.

(out, err io.Writer)

Source from the content-addressed store, hash-verified

35// NewStdLogger create a Logger that uses out and err for informational and
36// error messages.
37func NewStdLogger(out, err io.Writer) cloudsql.Logger {
38 return &StdLogger{
39 stdLog: llog.New(out, "", llog.LstdFlags),
40 errLog: llog.New(err, "", llog.LstdFlags),
41 }
42}
43
44// Infof logs informational messages
45func (l *StdLogger) Infof(format string, v ...interface{}) {

Callers 7

ExecuteMethod · 0.92
proxy_test.goFile · 0.92
TestCommandOptionsFunction · 0.92
NewCommandFunction · 0.92
loadConfigFunction · 0.92
StartProxyFunction · 0.92

Calls

no outgoing calls

Tested by 2

TestCommandOptionsFunction · 0.74
StartProxyFunction · 0.74