Documentation
¶
Overview ¶
Package log provides a logging backend, based around the go-logging package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Backend ¶
type Backend struct {
// contains filtered or unexported fields
}
Backend is a log backend.
func (*Backend) GetGoLogger ¶
GetGoLogger returns a per-module Go runtime *log.Logger that writes to the backend. Due to limitations of the Go runtime log package, only one level is supported per returned Logger.
func (*Backend) GetLogWriter ¶
GetLogWriter returns a per-module io.Writer that writes to the backend at the provided level.
Click to show internal directories.
Click to hide internal directories.