Versions in this module Expand all Collapse all v1 v1.3.1 Apr 12, 2023 Changes in this version + type ContextFn func(ctx context.Context) []zapcore.Field + type Logger struct + Context ContextFn + IgnoreRecordNotFoundError bool + LogLevel gormlogger.LogLevel + SkipCallerLookup bool + SlowThreshold time.Duration + ZapLogger *zap.Logger + func New(zapLogger *zap.Logger) Logger + func (l Logger) Error(ctx context.Context, str string, args ...any) + func (l Logger) Info(ctx context.Context, str string, args ...any) + func (l Logger) LogMode(level gormlogger.LogLevel) gormlogger.Interface + func (l Logger) SetAsDefault() + func (l Logger) Trace(ctx context.Context, begin time.Time, fc func() (string, int64), err error) + func (l Logger) Warn(ctx context.Context, str string, args ...any)