java类org.slf4j.helpers.SubstituteLoggerFactory的实例源码

LoggerFactory.java 文件源码 项目:bartleby 阅读 30 收藏 0 点赞 0 评论 0
/**
 * 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();
}
LoggerFactory.java 文件源码 项目:juli-to-slf4j 阅读 31 收藏 0 点赞 0 评论 0
/**
 * 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();
}


问题


面经


文章

微信
公众号

扫码关注公众号