3 ms·
As a lifelong printf debugger in many languages, what I'd prefer is to be able to send my printf's into different streams and have a scrollable, filterable and
by d0100 6y ago
As a lifelong printf debugger in many languages, what I'd prefer is to be able to send my printf's into different streams and have a scrollable, filterable and searchable console for each stream
Kinda like the console in web developer tools (F12)
- merlinsbrain 6y agoAre you looking for the log module, but with a UI on top of it (something like splunk, but for local development)?
- bubersson 6y agoI think we all ultimately want Chrome DevTools features for Go :)
- manfredo 6y agoPrint a known prefix every time you log. Or slap together a simple logging module that adds said prefix. Then to browse, use `tail -f log_file.txt | grep "PREFIX - "`. Console tabs makes it easy enough so that doing this with a bash script and opening tabs for each log prefix has fulfilled my need for such a tool.