本文整理汇总了Java中org.slf4j.helpers.SubstituteLoggerFactory类的典型用法代码示例。如果您正苦于以下问题:Java SubstituteLoggerFactory类的具体用法?Java SubstituteLoggerFactory怎么用?Java SubstituteLoggerFactory使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
SubstituteLoggerFactory类属于org.slf4j.helpers包,在下文中一共展示了SubstituteLoggerFactory类的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: reset
import org.slf4j.helpers.SubstituteLoggerFactory; //导入依赖的package包/类
/**
* 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();
}