Documentation ¶ Index ¶ type StdLogger func Default() StdLogger func New(cfg *flog.Config) StdLogger func (sl StdLogger) Debugf(format string, args ...interface{}) func (sl StdLogger) Errorf(format string, args ...interface{}) func (sl StdLogger) Infof(format string, args ...interface{}) func (sl StdLogger) Named(name string) StdLogger Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type StdLogger ¶ type StdLogger struct { // Decorate allows to modify the log message before it is written. Decorate func(string) string // contains filtered or unexported fields } StdLogger implements the forwarder.Logger interface using the standard log package. func Default ¶ func Default() StdLogger func New ¶ func New(cfg *flog.Config) StdLogger func (StdLogger) Debugf ¶ func (sl StdLogger) Debugf(format string, args ...interface{}) func (StdLogger) Errorf ¶ func (sl StdLogger) Errorf(format string, args ...interface{}) func (StdLogger) Infof ¶ func (sl StdLogger) Infof(format string, args ...interface{}) func (StdLogger) Named ¶ func (sl StdLogger) Named(name string) StdLogger Source Files ¶ View all Source files stdlog.go Click to show internal directories. Click to hide internal directories.