I code mostly in Go. And yes, I'm writing `log.Tracef` everywhere.
Might seem tedious, but in fact it's easily automated using snippets in the editor.
Also when I'm inserting trace statements during development it provides a great help since it's much easier to debug logic.
Regarding performance: I don't think that we need to worry about log performance. Most applications we have this days are not performance-bound to the logging. And all it takes to disable particular log level is single `if` in the code. Or a build flag in more extreme cases.
Might seem tedious, but in fact it's easily automated using snippets in the editor.
Also when I'm inserting trace statements during development it provides a great help since it's much easier to debug logic.
Regarding performance: I don't think that we need to worry about log performance. Most applications we have this days are not performance-bound to the logging. And all it takes to disable particular log level is single `if` in the code. Or a build flag in more extreme cases.