- java.lang.Object
-
- ch.qos.logback.classic.util.ContextInitializer
-
public class ContextInitializer extends Object
This class contains logback's logic for automatic configuration- Author:
- Ceki Gulcu
-
-
Field Summary
Fields Modifier and Type Field Description static StringAUTOCONFIG_FILEDeprecated.Please use ClassicConstants.AUTOCONFIG_FILE insteadstatic StringCONFIG_FILE_PROPERTYDeprecated.Please use ClassicConstants.CONFIG_FILE_PROPERTY insteadstatic StringTEST_AUTOCONFIG_FILEDeprecated.Please use ClassicConstants.TEST_AUTOCONFIG_FILE instead
-
Constructor Summary
Constructors Constructor Description ContextInitializer(LoggerContext loggerContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidautoConfig()voidautoConfig(ClassLoader classLoader)
-
-
-
Field Detail
-
AUTOCONFIG_FILE
public static final String AUTOCONFIG_FILE
Deprecated.Please use ClassicConstants.AUTOCONFIG_FILE instead- See Also:
- Constant Field Values
-
TEST_AUTOCONFIG_FILE
public static final String TEST_AUTOCONFIG_FILE
Deprecated.Please use ClassicConstants.TEST_AUTOCONFIG_FILE instead- See Also:
- Constant Field Values
-
CONFIG_FILE_PROPERTY
public static final String CONFIG_FILE_PROPERTY
Deprecated.Please use ClassicConstants.CONFIG_FILE_PROPERTY instead- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ContextInitializer
public ContextInitializer(LoggerContext loggerContext)
-
-
Method Detail
-
autoConfig
public void autoConfig() throws JoranException
- Throws:
JoranException
-
autoConfig
public void autoConfig(ClassLoader classLoader) throws JoranException
- Throws:
JoranException
-
-