Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Logger ¶
type Logger interface { Info(msg string, keysAndValues ...interface{}) Error(msg string, keysAndValues ...interface{}) }
Logger interface that all loggers must implement
type NoOpLogger ¶
type NoOpLogger struct{}
NoOpLogger default logger that does nothing
func (*NoOpLogger) Error ¶
func (n *NoOpLogger) Error(msg string, keysAndValues ...interface{})
func (*NoOpLogger) Info ¶
func (n *NoOpLogger) Info(msg string, keysAndValues ...interface{})
Click to show internal directories.
Click to hide internal directories.