Logger slf4j advantages of formatting with {} instead of string concatenation
It is about string concatenation performance. It’s potentially significant if your have dense logging statements. (Prior to SLF4J 1.7) But only two parameters are possible Because the vast majority of logging statements have 2 or fewer parameters, so SLF4J API up to version 1.6 covers (only) the majority of use cases. The API designers have … Read more