Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger interface { Debugf(format string, args ...interface{}) Infof(format string, args ...interface{}) Warnf(format string, args ...interface{}) Errorf(format string, args ...interface{}) }
Logger provides logging facilities to the library.
var Null Logger = nullLogger{}
Null is a no-op logger. It is used to suppress logging and is the default logger for the library.
var Std Logger = stdLogger{}
Std is a logger that uses the Go standard log library.
Click to show internal directories.
Click to hide internal directories.