mirror of
https://github.com/hibiken/asynq.git
synced 2026-04-25 23:15:51 +03:00
[GH-ISSUE #1016] [FEATURE REQUEST] Logger interface support context.Context #2512
Labels
No labels
CLI
bug
designing
documentation
duplicate
enhancement
good first issue
good first issue
help wanted
idea
invalid
investigate
needs-more-info
performance
pr-welcome
pull-request
question
wontfix
work in progress
work in progress
work-around-available
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/asynq#2512
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @poetlife on GitHub (Feb 10, 2025).
Original GitHub issue: https://github.com/hibiken/asynq/issues/1016
Originally assigned to: @hibiken, @kamikazechaser on GitHub.
Is your feature request related to a problem? Please describe.
Current
log.Baseinterface doesn't support explicitly passctxparam which is important for log observability such as OpenTelemetry.Describe the solution you'd like
Provide another interface which accepts a
ctx context.Contextparameter, such as:Describe alternatives you've considered
No alternatives.
Additional context
In production environments, we need something like
trace_idto relate many logs. So, it's important to log with context.@jittery-droid commented on GitHub (Apr 2, 2025):
My company also needs this feature