Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger interface { // Debugf writes debug messags Debugf(format string, a ...interface{}) // WithServiceName overrides service name stored in Logger WithServiceName(service string) Logger }
Logger represent aqb library logger. Library accepts customize logger by giving context.
type NoOpLogger ¶
type NoOpLogger struct{}
NoOpLogger makes all input to waste.
func (NoOpLogger) Debugf ¶
func (NoOpLogger) Debugf(_ string, _ ...interface{})
Debugf nothing output
func (*NoOpLogger) WithServiceName ¶
func (s *NoOpLogger) WithServiceName(_ string) Logger
WithServiceName nothing changes
Click to show internal directories.
Click to hide internal directories.