4 ms·
You make a very good point about unix tools. However, as a Javascript/JSON guy myself, I really like the way JSON works. And for a small site like mine, JSON wo
by ntkachov 14y ago
You make a very good point about unix tools. However, as a Javascript/JSON guy myself, I really like the way JSON works. And for a small site like mine, JSON would work much better out of the box than some sort of tab structure.
I work with node.js which means I can console.log and then pipe into a log file. Any object sent into console.log are automatically converted to JSON.
I can also do stack traces with JSON if I ever end up with some sort of nasty bugs.
When you log Gb a day, absolutely, tabs are the way to go. But when you have a tiny little thing like mine, saving the effort for something more value adding is probably the better choice.