liquibase.logging.LogFactory Maven / Gradle / Ivy
package liquibase.logging;
import liquibase.Scope;
import liquibase.plugin.AbstractPluginFactory;
public class LogFactory extends AbstractPluginFactory {
private LogFactory() {
}
@Override
protected Class getPluginClass() {
return LogService.class;
}
@Override
protected int getPriority(LogService logService, Object... args) {
return logService.getPriority();
}
/**
* @deprecated Use {@link Scope#getLog(Class)}
*/
@Deprecated
public static Logger getLogger(String ignored) {
return Scope.getCurrentScope().getLog(LogFactory.class);
}
/**
* @deprecated Use {@link Scope#getLog(Class)}
*/
@Deprecated
public static Logger getLogger() {
return Scope.getCurrentScope().getLog(LogFactory.class);
}
/**
* @deprecated Use {@link Scope#getSingleton(Class)}
*/
public static LogFactory getInstance() {
return Scope.getCurrentScope().getSingleton(LogFactory.class);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy