package
0.9.0-alpha
Repository: https://github.com/denopink/webpa-common.git
Documentation: pkg.go.dev

# Packages

Package golog integrates the WebPA common logging with github.com/ian-kent/go-log.

# Functions

No description provided by the author
TestLogger is a convenience for &LoggerWriter{TestWriter(t)}.
TestWriter produces an io.Writer that outputs to testDelegate.Log with a single string.

# Structs

DefaultLoggerFactory provides a simple way to create Logger instances adapted onto log.Logger.
ErrorWriter adapts io.Writer onto ErrorLogger so that all output from Write() goes to Error(...).
LoggerWriter is a default, built-in logging type that simply writes output to an embedded io.Writer.
PrintLogger exposes a Printf method for infrastructure that uses that method for logging.

# Interfaces

ErrorLogger provides the interface for outputting errors to a log sink.
Logger defines the expected methods to be provided by logging infrastructure.
LoggerFactory represents the behavior of a type which can create a Logger.