Answer the question
In order to leave comments, you need to log in
How to properly debug an application?
Good afternoon, now I took the library https://github.com/op/go-logging and added two backends there
1 - debug+ -> os.Stdout
2 - info+ -> file
As a result, log.Debug() was stuck all over the code where do I write the values of variables, what do I call, etc. this is very inconvenient, it looks disgusting in the code. Is there a tool that allows you to find out all this without log?
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