package logging

import "github.com/GoogleCloudPlatform/cloudsql-proxy/logging"

Package logging contains helpers to support log messages. If you are using the Cloud SQL Proxy as a Go library, you can override these variables to control where log messages end up.

Index

Variables

var Errorf = log.Printf

Errorf is called to write an error log, such as when a new connection fails.

var Infof = log.Printf

Infof is called to write informational logs, such as when startup has completed.

var Verbosef = log.Printf

Verbosef is called to write verbose logs, such as when a new connection is established correctly.

Source Files

logging.go

Version
v1.11.0
Published
Sep 29, 2017
Platform
js/wasm
Imports
1 packages
Last checked
2 months ago

Tools for package owners.