private final static void staticInitialize() {
try {
// support re-entrant behavior.
// See also http://bugzilla.slf4j.org/show_bug.cgi?id=106
List loggerNameList = new ArrayList();
loggerFactory = new SubstituteLoggerFactory(loggerNameList);
loggerFactory = StaticLoggerBinder.SINGLETON.getLoggerFactory();
emitSubstitureLoggerWarning(loggerNameList);
} catch (NoClassDefFoundError ncde) {
loggerFactory = null; // undo SubstituteLoggerFactory assignment
String msg = ncde.getMessage();