Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger interface { Infof(_ string, _ ...interface{}) Debugf(_ string, _ ...interface{}) Errorf(_ string, _ ...interface{}) }
Logger is an interface that library users can use It is based on logrus, but much smaller — That's because we don't want library users to have to implement all of the logrus's methods
type NoopLogger ¶
type NoopLogger struct{}
func (*NoopLogger) Debugf ¶
func (*NoopLogger) Debugf(_ string, _ ...interface{})
func (*NoopLogger) Errorf ¶
func (*NoopLogger) Errorf(_ string, _ ...interface{})
func (*NoopLogger) Infof ¶
func (*NoopLogger) Infof(_ string, _ ...interface{})
Click to show internal directories.
Click to hide internal directories.