Which log4j facade to choose?
问题 Essentially I'm looking for something with the same behavior, configuration, logging levels as log4j, but with some of the missing functionality (e.g. formatted logging — see here and here for related SO threads.) Current nominees are slf4j and log5j. 回答1: I'm inclined toward SLF4J. allows parameterized logging (formatting) allows consolidation of other frameworks (great for apps using many libraries, each logging to a different framework) log5j is good, but does not have near as much market