Whether it be java.util.logging, commons-logging, log4j, and even the most recent slf4j and logback, none of these APIs propose methods such as, say:
void debug(String format, Object... args);
format is a string parsed using
Formatter. Instead, they stick with
I understand that it would conflict with existing prototypes, so why not
debugf() or the like, but why aren't there any such methods given that
Formatter is as old as Java 1.5?
Is it for performance reasons, backwards compatibility... ?
(note, I am really talking about
Formatter, ie including placeholders such as