package testlog
Import Path
internal/testlog (on golang.org and go.dev)
Dependency Relation
imports one package, and imported by one package
Involved Source Files
d-> log.go
Exported Type Names
Exported Values
func
Getenv(name
string)
Getenv calls Logger().Getenv, if a logger has been set.
func
Logger()
Interface
Logger returns the current test logger implementation.
It returns nil if there is no logger.
func
Open(name
string)
Open calls Logger().Open, if a logger has been set.
func
SetLogger(impl
Interface)
SetLogger sets the test logger implementation for the current process.
It must be called only once, at process startup.
func
Stat(name
string)
Stat calls Logger().Stat, if a logger has been set.
 |
The pages are generated with Golds v0.1.6. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project and developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |