ch.qos.logback.classic.util
Class ContextInitializer
java.lang.Object
ch.qos.logback.classic.util.ContextInitializer
public class ContextInitializer
- extends java.lang.Object
This class contains logback's logic for automatic configuration
- Author:
- Ceki Gulcu
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GROOVY_AUTOCONFIG_FILE
public static final java.lang.String GROOVY_AUTOCONFIG_FILE
- See Also:
- Constant Field Values
AUTOCONFIG_FILE
public static final java.lang.String AUTOCONFIG_FILE
- See Also:
- Constant Field Values
TEST_AUTOCONFIG_FILE
public static final java.lang.String TEST_AUTOCONFIG_FILE
- See Also:
- Constant Field Values
CONFIG_FILE_PROPERTY
public static final java.lang.String CONFIG_FILE_PROPERTY
- See Also:
- Constant Field Values
STATUS_LISTENER_CLASS
public static final java.lang.String STATUS_LISTENER_CLASS
- See Also:
- Constant Field Values
SYSOUT
public static final java.lang.String SYSOUT
- See Also:
- Constant Field Values
ContextInitializer
public ContextInitializer(LoggerContext loggerContext)
configureByManifest
public boolean configureByManifest()
- Configures Logback by reading the configuration from the
AndroidManifest.xml
- Returns:
true
if successfully processed config from manifest;
false
otherwise
configureByResource
public void configureByResource(java.net.URL url)
throws JoranException
- Throws:
JoranException
findURLOfDefaultConfigurationFile
public java.net.URL findURLOfDefaultConfigurationFile(boolean updateStatus,
java.lang.String dir)
autoConfig
public void autoConfig()
throws JoranException
- Throws:
JoranException