Documentation ¶
Index ¶
- func CtxDebug(ctx context.Context, msg string, fields ...zap.Field)
- func CtxDebugf(ctx context.Context, template string, args ...interface{})
- func CtxError(ctx context.Context, msg string, fields ...zap.Field)
- func CtxErrorf(ctx context.Context, template string, args ...interface{})
- func CtxFatal(ctx context.Context, msg string, fields ...zap.Field)
- func CtxFatalf(ctx context.Context, template string, args ...interface{})
- func CtxInfo(ctx context.Context, msg string, fields ...zap.Field)
- func CtxInfof(ctx context.Context, template string, args ...interface{})
- func CtxWarn(ctx context.Context, msg string, fields ...zap.Field)
- func CtxWarnf(ctx context.Context, template string, args ...interface{})
- func Debug(msg string, fields ...zap.Field)
- func Debugf(template string, args ...interface{})
- func Error(msg string, fields ...zap.Field)
- func Errorf(template string, args ...interface{})
- func Fatal(msg string, fields ...zap.Field)
- func Fatalf(template string, args ...interface{})
- func GetGormLogLevel(level string) logger.LogLevel
- func Info(msg string, fields ...zap.Field)
- func Infof(template string, args ...interface{})
- func NewGormLogger(conf *config.Config, zapLogger *zap.Logger) logger.Interface
- func NewLogger(conf *config.Config) *zap.Logger
- func Sync()
- func Warn(msg string, fields ...zap.Field)
- func Warnf(template string, args ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetGormLogLevel ¶
func NewGormLogger ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.