News Stay informed about the latest enterprise technology news and product updates.

What's the top Java Logging method on GitHub? String concatenation vs parameterized logging

A log is a log is a log. Some of us use dedicated log tools to monitor it, while others prefer going through the raw log lines with their very own eyes. It doesn’t matter how we consume it – it’s an inseparable part of our development cycle.
There are a lot of methods in which we can write to our logs, when endless debates, opinions and arguments surround the logging world. In the following post we’ve decided to focus on one of those topics – and understand which method is better: String concatenation or parameterized Logging. How do most developers write variables to their logs? Let’s find out.