Documentation ¶
Index ¶
- func NewZapSugar(c ...*logger.Config) logger.Logger
- func TimeEncoder(t time.Time, enc zapcore.PrimitiveArrayEncoder)
- type ZapSugar
- func (e *ZapSugar) Debugf(format string, v ...interface{})
- func (e *ZapSugar) Fatalf(format string, v ...interface{})
- func (e *ZapSugar) Infof(format string, v ...interface{})
- func (e *ZapSugar) Log(level logger.Level, v ...interface{})
- func (e *ZapSugar) Logf(level logger.Level, format string, v ...interface{})
- func (e *ZapSugar) Options() logger.Options
- func (e *ZapSugar) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TimeEncoder ¶
func TimeEncoder(t time.Time, enc zapcore.PrimitiveArrayEncoder)
TimeEncoder time format
Types ¶
Click to show internal directories.
Click to hide internal directories.