-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🐛 [Bug]:Incorrect log depth when use log.WithContext #2646
Labels
Comments
Thanks for opening your first issue here! 🎉 Be sure to follow the issue template! If you need help or want to chat with us, join us on Discord https://gofiber.io/discord |
0xmkzt
changed the title
🐛 [Bug]:Incorrect caller when use log.WithContext
🐛 [Bug]:Incorrect log depth when use log.WithContext
Sep 25, 2023
0xmkzt
added a commit
to 0xmkzt/fiber
that referenced
this issue
Sep 25, 2023
Duplicate of gofiber/contrib#791 |
@Skyenought can you help here? |
I would like to take this up! /assign |
i will fix bug in fiber soon |
13 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug Description
When i use log.WithContext, the log depth is more deeper.
How to Reproduce
Steps to reproduce the behavior:
curl -i http://127.0.0.1:3000/ready
...router.go:145: [Info] ready
Expected Behavior
Actually it should be
...main.go:14: [Info] ready
Fiber Version
v2.49.2
Code Snippet (optional)
Checklist:
The text was updated successfully, but these errors were encountered: