Versions in this module Expand all Collapse all v1 v1.3.22 Nov 17, 2021 v1.3.21 Nov 17, 2021 Changes in this version + func AppFileErrorLog(format string, a ...interface{}) error + func Debugf(format string, args ...interface{}) + func Debugw(msg string, keysAndValues ...interface{}) + func Errorf(format string, args ...interface{}) + func Errorw(msg string, keysAndValues ...interface{}) + func Fatalf(format string, args ...interface{}) + func Fatalw(msg string, keysAndValues ...interface{}) + func HookSystemLog(args map[string]string) zap.Option — linux/amd64 + func Infof(format string, args ...interface{}) + func Infow(msg string, keysAndValues ...interface{}) + func NewFileSync(filename string, mode fsutil.WriterMode) zapcore.WriteSyncer + func NewLogger(cfg *Config) *zap.Logger + func Panicf(format string, args ...interface{}) + func Reset() + func ServerErrorLog(format string, a ...interface{}) + func Setup(cfg *Config) + func Warnf(format string, args ...interface{}) + func Warnw(msg string, keysAndValues ...interface{}) + func WriteFileLog(filename, format string, a ...interface{}) error + type Config struct + Conf *zap.Config + ErrFilepath string + Filepath string + IsProduction bool + Level string + func NewConfig(level string) *Config + func (c *Config) Build() *zap.Logger + type Hooker interface + Fire func(entry zapcore.Entry) error + Name func() string + func NewSyslogHook(network, raddr string, priority syslog.Priority, tag string) Hooker + type SyslogHook struct — linux/amd64 + func (h *SyslogHook) Fire(entry zapcore.Entry) error + func (h *SyslogHook) Name() string