If an extension uses LogFactory.getInstance(), it will not work with 4.x.

Add a deprecated getInstance() method that calls Scope.getLogger()

From https://www.reddit.com/r/liquibase/comments/l0vun0/liquibase_3x_4x_liquibasecompat_and/



┆Issue is synchronized with this [Jira Bug](https://datical.atlassian.net/browse/LB-1133) by [Unito](https://www.unito.io)
┆fixVersions: Liquibase 4.3.0

package liquibase.logging;
import liquibase.Scope;
import liquibase.plugin.AbstractPluginFactory;
public class LogFactory extends AbstractPluginFactory<LogService> {
    private LogFactory() {
    }
    @Override
    protected Class<LogService> 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);
    }
}