Documentation
¶
Index ¶
- func DPanic(msg string, fields ...zap.Field)
- func DPanicc(ctx context.Context, msg string, fields ...zap.Field)
- func Debug(msg string, fields ...zap.Field)
- func Debugc(ctx context.Context, msg string, fields ...zap.Field)
- func Error(msg string, fields ...zap.Field)
- func Errorc(ctx context.Context, msg string, fields ...zap.Field)
- func Fatal(msg string, fields ...zap.Field)
- func Fatalc(ctx context.Context, msg string, fields ...zap.Field)
- func Info(msg string, fields ...zap.Field)
- func Infoc(ctx context.Context, msg string, fields ...zap.Field)
- func InitLog(app, server string, logpath string)
- func SetLevel(lv string) error
- func SyncFlush()
- func Warn(msg string, fields ...zap.Field)
- func Warnc(ctx context.Context, msg string, fields ...zap.Field)
- func WithLogContext(withContext LogWithContext)
- type LogWithContext
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithLogContext ¶
func WithLogContext(withContext LogWithContext)
Types ¶
Click to show internal directories.
Click to hide internal directories.