liquibase.logging.core.DefaultLoggerConfiguration Maven / Gradle / Ivy
package liquibase.logging.core;
import liquibase.configuration.AbstractConfigurationContainer;
/**
* Configuration container for {@link liquibase.logging.core.DefaultLogger} properties
*/
public class DefaultLoggerConfiguration extends AbstractConfigurationContainer {
public static final String LOG_LEVEL = "level";
public DefaultLoggerConfiguration() {
super("liquibase.defaultlogger");
getContainer().addProperty(LOG_LEVEL, String.class)
.setDescription("Logging level")
.setDefaultValue("INFO");
}
public String getLogLevel() {
return getContainer().getValue(LOG_LEVEL, String.class);
}
public DefaultLoggerConfiguration setLogLevel(String name) {
getContainer().setValue(LOG_LEVEL, name);
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy