Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ZapLogger ¶
type ZapLogger interface { logger.Logger DPanic(args ...interface{}) DPanicf(template string, args ...interface{}) Sync() error }
func NewZapLogger ¶
func NewZapLogger(lc *config.LoggerConfig, sc *config.ServerConfig) ZapLogger
NewZapLogger create new zap logger
Click to show internal directories.
Click to hide internal directories.