slf4j's Logger.debug is a perfect example of item 42 in Effective Java 2nd Edition (on varargs), but I have a question.
I believe that they have found that the vast majority of use cases of debug
have 2 or less arguments and that by over loading the methods with 0,1,2 arguments, the implementation is able to avoid allocating an array?
/**
* Log a message at the DEBUG level.
*
* @param msg the message string to be logged
*/