go/src/internal/testlog/log.go

type Interface

var logger

// SetLogger sets the test logger implementation for the current process.
// It must be called only once, at process startup.
func SetLogger(impl Interface) {}

// Logger returns the current test logger implementation.
// It returns nil if there is no logger.
func Logger() Interface {}

// Getenv calls Logger().Getenv, if a logger has been set.
func Getenv(name string) {}

// Open calls Logger().Open, if a logger has been set.
func Open(name string) {}

// Stat calls Logger().Stat, if a logger has been set.
func Stat(name string) {}