K
K
kolo20122017-03-16 17:19:18
go
kolo2012, 2017-03-16 17:19:18

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

1 answer(s)
N
Nikita, 2017-03-25
@kolo2012

Debugging prints in Go is the norm

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question