Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger interface { Debug(...interface{}) Debugf(string, ...interface{}) Info(...interface{}) Infof(string, ...interface{}) Warn(...interface{}) Warnf(string, ...interface{}) Error(...interface{}) Errorf(string, ...interface{}) }
Logger is an interface for logger.
func NewStdLogger ¶
NewStdLogger returns a new StdLogger that prints to dst.
func NewStderrLogger ¶
func NewStderrLogger() Logger
NewStderrLogger returns a new StdLogger that prints to STDERR.
Click to show internal directories.
Click to hide internal directories.