Versions in this module Expand all Collapse all v1 v1.0.7 Feb 21, 2024 Changes in this version + var LevelDebug = zap.DebugLevel.CapitalString() + var LevelInfo = zap.InfoLevel.CapitalString() + func Debug(msg string, tags ...zapcore.Field) + func Debugf(format string, a ...any) + func Error(msg string, tags ...zapcore.Field) + func Errorf(format string, a ...any) + func Fatal(msg string, tags ...zapcore.Field) + func Fatalf(format string, a ...any) + func GinZap() gin.HandlerFunc + func Info(msg string, tags ...zapcore.Field) + func Infof(format string, a ...any) + func Panic(msg string, tags ...zapcore.Field) + func Panicf(format string, a ...any) + func RestyDebugLogger(resp *resty.Response) + func SetLogger(opts ...Option) + func SetLoggerWithConfig(config zap.Config) + func Warn(msg string, tags ...zapcore.Field) + func Warnf(format string, a ...any) + type Config struct + Level *zapcore.Level + OutputPaths []string + type Option func(config *Config) + func WithLogLevel(logLevel string) Option + func WithOutputPaths(outputPaths []string) Option