org.slf4j.LoggerFactoryFriend Maven / Gradle / Ivy
package org.slf4j;
/**
* All methods in this class are reserved for internal use, for testing purposes.
*
* They can can be modified, renamed or removed at any time without notice.
*
*
You are strongly discouraged calling any of the methods of this class.
*
* @since 1.8.0
*
* @author Ceki Gülcü
*/
public class LoggerFactoryFriend {
/*
* Force LoggerFactory to consider itself uninitialized.
*/
static public void reset() {
LoggerFactory.reset();
}
/**
* Set LoggerFactory.DETECT_LOGGER_NAME_MISMATCH variable.
*
* @param enabled a boolean
*/
public static void setDetectLoggerNameMismatch(boolean enabled) {
LoggerFactory.DETECT_LOGGER_NAME_MISMATCH = enabled;
}
}