Java 类org.slf4j.helpers.SubstituteLoggerFactory 实例源码

项目:bartleby    文件:LoggerFactory.java   
/**
 * Force LoggerFactory to consider itself uninitialized.
 * <p/>
 * <p/>
 * This method is intended to be called by classes (in the same package) for
 * testing purposes. This method is internal. It can be modified, renamed or
 * removed at any time without notice.
 * <p/>
 * <p/>
 * You are strongly discouraged from calling this method in production code.
 */
static void reset() {
    INITIALIZATION_STATE = UNINITIALIZED;
    TEMP_FACTORY = new SubstituteLoggerFactory();
}
项目:juli-to-slf4j    文件:LoggerFactory.java   
/**
 * Force LoggerFactory to consider itself uninitialized.
 * <p/>
 * <p/>
 * This method is intended to be called by classes (in the same package) for
 * testing purposes. This method is internal. It can be modified, renamed or
 * removed at any time without notice.
 * <p/>
 * <p/>
 * You are strongly discouraged from calling this method in production code.
 */
static void reset() {
    INITIALIZATION_STATE = UNINITIALIZED;
    TEMP_FACTORY = new SubstituteLoggerFactory();
}