Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ZapLogger ¶
type ZapLogger struct { Sync func() error // contains filtered or unexported fields }
ZapLogger is a logger impl.
func NewZapLogger ¶
func NewZapLogger(encoder zapcore.EncoderConfig, level zap.AtomicLevel, opts ...zap.Option) *ZapLogger
NewZapLogger return a zap logger.
Click to show internal directories.
Click to hide internal directories.