Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger interface { Info(string, ...interface{}) Debug(string, ...interface{}) Error(string, error, ...interface{}) }
func NewTestLogger ¶
type Sink ¶
type Sink interface { //Log to the sink. Best effort -- no need to worry about errors. Log(level LogLevel, payload []byte) }
A Sink represents a write destination for a Logger. Based off https://github.com/pivotal-golang/lager
Click to show internal directories.
Click to hide internal directories.