2 ms·
I don't 100% agree with this, because even when you're doing containers and just dumping your log output to stdout, you still might be shipping that to a log ag
by kelnos 4y ago
I don't 100% agree with this, because even when you're doing containers and just dumping your log output to stdout, you still might be shipping that to a log aggregation system that will work a lot better with structured logging. So you might want to output JSON or some other structured format, and you might want your logger to support tagging, markers, stuff like that.
Even then, of course, this kind of logging should be able to be done in far fewer lines than most Java logging frameworks.