Documentation
¶
Index ¶
- Variables
- func Ctx(ctx context.Context) *log.MLogger
- func Debug(msg string, fields ...zap.Field)
- func Error(msg string, fields ...zap.Field)
- func Fatal(msg string, fields ...zap.Field)
- func Info(msg string, fields ...zap.Field)
- func L() *zap.Logger
- func Panic(msg string, fields ...zap.Field)
- func Prop() *log.ZapProperties
- func SetLevel(level zapcore.Level)
- func Warn(msg string, fields ...zap.Field)
- func With(fields ...zap.Field) *log.MLogger
- func WithFields(ctx context.Context, fields ...zap.Field) context.Context
- func WithTraceID(ctx context.Context, traceID string) context.Context
- type RateLog
Constants ¶
This section is empty.
Variables ¶
View Source
var CtxLogKey = ctxLogKeyType{}
Functions ¶
func Prop ¶
func Prop() *log.ZapProperties
Types ¶
Click to show internal directories.
Click to hide internal directories.