Answer the question
In order to leave comments, you need to log in
How to make a beautiful log output to a file?
I'm making a small application that will work locally for users. And you need to output the logs to a file, in a readable form. With a stacktrace. To be honest, I was already tormented after php trying to display logs in a goshka.
Tried zap, logrus, zerolog . For project-wide errors I use
"github.com/pkg/errors"
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question