Documentation ¶
Index ¶
- type Logger
- type NopLogger
- func (l NopLogger) Debug(_ string, _ ...interface{})
- func (l NopLogger) Error(_ string, _ ...interface{})
- func (l NopLogger) Info(_ string, _ ...interface{})
- func (l NopLogger) Warn(_ string, _ ...interface{})
- func (l NopLogger) With(_ ...interface{}) Logger
- func (l NopLogger) ZapLogger() *zap.Logger
- type ZapLogger
- func (l ZapLogger) Debug(msg string, keysAndValues ...interface{})
- func (l ZapLogger) Error(msg string, keysAndValues ...interface{})
- func (l ZapLogger) Info(msg string, keysAndValues ...interface{})
- func (l ZapLogger) Warn(msg string, keysAndValues ...interface{})
- func (l ZapLogger) With(args ...interface{}) Logger
- func (l ZapLogger) ZapLogger() *zap.Logger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ZapLogger ¶
type ZapLogger struct {
// contains filtered or unexported fields
}
func FromZapLogger ¶
func NewZapProd ¶
Click to show internal directories.
Click to hide internal directories.