Versions in this module Expand all Collapse all v0 v0.0.1 Nov 25, 2024 Changes in this version + func Debug(ctx context.Context, args ...interface{}) + func DebugWith(ctx context.Context, addFields []logger.Field, args ...interface{}) + func DebugWithf(ctx context.Context, addFields []logger.Field, format string, ...) + func Debugf(ctx context.Context, format string, args ...interface{}) + func Error(ctx context.Context, code int, args ...interface{}) + func ErrorWith(ctx context.Context, addFields []logger.Field, code int, args ...interface{}) + func ErrorWithf(ctx context.Context, addFields []logger.Field, code int, format string, ...) + func Errorf(ctx context.Context, code int, format string, args ...interface{}) + func Fatal(ctx context.Context, args ...interface{}) + func FatalWith(ctx context.Context, addFields []logger.Field, args ...interface{}) + func FatalWithf(ctx context.Context, addFields []logger.Field, format string, ...) + func Fatalf(ctx context.Context, format string, args ...interface{}) + func GetLogger(msg *codec.Msg) logger.Logger + func GetTraceback() (ret string) + func Info(ctx context.Context, args ...interface{}) + func InfoWith(ctx context.Context, addFields []logger.Field, args ...interface{}) + func InfoWithf(ctx context.Context, addFields []logger.Field, format string, ...) + func Infof(ctx context.Context, format string, args ...interface{}) + func Warn(ctx context.Context, args ...interface{}) + func WarnWith(ctx context.Context, addFields []logger.Field, args ...interface{}) + func WarnWithf(ctx context.Context, addFields []logger.Field, format string, ...) + func Warnf(ctx context.Context, format string, args ...interface{}) + type TimeLog struct + func NewTimeLog(ctx context.Context, threshold ...time.Duration) *TimeLog + func (t *TimeLog) Debug(args ...interface{}) + func (t *TimeLog) Debugf(format string, args ...interface{}) + func (t *TimeLog) During() time.Duration + func (t *TimeLog) Error(code int, args ...interface{}) + func (t *TimeLog) Errorf(code int, format string, args ...interface{}) + func (t *TimeLog) Info(args ...interface{}) + func (t *TimeLog) Infof(format string, args ...interface{}) + func (t *TimeLog) OverThreshold() bool + func (t *TimeLog) SetThreshold(i time.Duration) + func (t *TimeLog) Start(ctx context.Context) *TimeLog + func (t *TimeLog) Warn(args ...interface{}) + func (t *TimeLog) Warnf(format string, args ...interface{})