I am using golang gin my api is showing in pending if I use third party sirupsen/logrus.
If I hit enter key on server application it start working
I am using golang gin my api is showing in pending if I use third party sirupsen/logrus.
If I hit enter key on server application it start working
Hello! We need more context ir order to help, perhaps sharing some code if possible;
Have you tried another logging library? Also, please note that sirupsen/logrus is currently in maintenance mode and its last commit was more than a year ago, I would recommend using something that is being more maintained like Zerolog or phuslu/log.
Ok thanks. I will update as you suggested
Why not use the built in structured logger in go (slog)?