|
|
|
|
|
by colin_mccabe
3998 days ago
|
|
I think if you are "ripping code in/out of your app everytime you need to do something" for debugging you need to create a logging system with multiple log levels. In log4j you can turn on TRACE logging for a particular subsystem to find out more about what is going on in that system. It would help a lot if the standard Go logging package would support multiple log levels. |
|
That's not a solution for the whole problem of making easy added/rippable changes to check specific behavior.
It leaves the code riddle with log calls and supporting code.