Documentation ¶ Index ¶ func NewZapLogger(verbose, jsonLogs bool) (*zap.Logger, error) type Logger type NopLogger func NewNopLogger() NopLogger func (nop NopLogger) Debugw(_ string, _ ...interface{}) func (nop NopLogger) Errorw(_ string, _ ...interface{}) func (nop NopLogger) Infow(_ string, _ ...interface{}) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func NewZapLogger ¶ func NewZapLogger(verbose, jsonLogs bool) (*zap.Logger, error) Types ¶ type Logger ¶ type Logger interface { Debugw(msg string, v ...interface{}) Infow(msg string, v ...interface{}) Errorw(msg string, v ...interface{}) } type NopLogger ¶ type NopLogger struct{} func NewNopLogger ¶ func NewNopLogger() NopLogger func (NopLogger) Debugw ¶ func (nop NopLogger) Debugw(_ string, _ ...interface{}) func (NopLogger) Errorw ¶ func (nop NopLogger) Errorw(_ string, _ ...interface{}) func (NopLogger) Infow ¶ func (nop NopLogger) Infow(_ string, _ ...interface{}) Source Files ¶ View all Source files log.go Click to show internal directories. Click to hide internal directories.