3 ms·
Sometimes I think there's a special place in hell reserved where you are fooled into thinking you can get out if you can add just... one... more... layer... of
by ajross 15y ago
Sometimes I think there's a special place in hell reserved where you are fooled into thinking you can get out if you can add just... one... more... layer... of logging abstraction.
Or maybe this is a development phase all programmers go through where they fixate on the mechanism for finding bugs instead of the bugs.
I mean, sure: logging files and line numbers with messages is useful sometimes. I think we all do it when chasing bugs. But is this really something that needs to be abstracted and pickled for posterity? Imagine looking at dmesg or syslog output and seeing all those source files you'll never read.
- ronaldj 15y agoWebkit prints the file and line number out in console.log. I use it all the time, but I guess that's because it also links to that point in the code.