Documentation
¶
Index ¶
- func ContextWithJobID(ctx context.Context) context.Context
- func ContextWithTraceID(ctx context.Context, traceID string) context.Context
- func GetJobID(ctx context.Context) string
- func GetLogger(debugEnabled bool) *zap.Logger
- func GetLoggerWithContext(ctx context.Context, l *zap.Logger) *zap.Logger
- func GetTraceID(ctx context.Context) string
- func GetZapJobID(ctx context.Context) zap.Field
- func GetZapTraceID(ctx context.Context) zap.Field
- func NewTraceID() string
- type JobID
- type TraceID
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContextWithTraceID ¶
func GetLoggerWithContext ¶
func GetTraceID ¶
func NewTraceID ¶
func NewTraceID() string
Types ¶
Click to show internal directories.
Click to hide internal directories.