4 ms·
No, the levels are not useless, far from it. Even if you just print to stdout, prefixing each line with a (maybe colored?) level info is very useful. Also, if l
by bornfreddy 4y ago
No, the levels are not useless, far from it. Even if you just print to stdout, prefixing each line with a (maybe colored?) level info is very useful. Also, if later you decide to use xyz format, it is trivial to implement this. Changing all logging calls? Not so much.
- bombolo 4y agoJust use a real logging daemon and it will be the colours by itself. It will also let you query for which level you want. > Changing all logging calls? Not so much. Uh? Make a good library using the same interface.