Documentation
¶
Index ¶
- func NewGormZapLogger(config GormZapLoggerConfig) logger.Interface
- type GormZapLogger
- func (gormLogger GormZapLogger) Error(ctx context.Context, str string, args ...interface{})
- func (gormLogger GormZapLogger) Info(ctx context.Context, str string, args ...interface{})
- func (gormLogger GormZapLogger) LogMode(logLevel logger.LogLevel) logger.Interface
- func (gormLogger GormZapLogger) Trace(ctx context.Context, begin time.Time, ...)
- func (gormLogger GormZapLogger) Warn(ctx context.Context, str string, args ...interface{})
- type GormZapLoggerConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewGormZapLogger ¶
func NewGormZapLogger(config GormZapLoggerConfig) logger.Interface
Types ¶
type GormZapLogger ¶
type GormZapLogger struct {
// contains filtered or unexported fields
}
func (GormZapLogger) Error ¶
func (gormLogger GormZapLogger) Error(ctx context.Context, str string, args ...interface{})
func (GormZapLogger) Info ¶
func (gormLogger GormZapLogger) Info(ctx context.Context, str string, args ...interface{})
func (GormZapLogger) LogMode ¶
func (gormLogger GormZapLogger) LogMode(logLevel logger.LogLevel) logger.Interface
Click to show internal directories.
Click to hide internal directories.