All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.liquibase.ext.dbmarlin.LogStreamer Maven / Gradle / Ivy

Go to download

This extension shares database deployment information from Liquibase to DBmarlin's timeline for context and insights into database performance.

The newest version!
package org.liquibase.ext.dbmarlin;

import com.datical.liquibase.ext.logging.structured.StructuredLogService;
import liquibase.license.LicenseServiceUtils;
import org.liquibase.ext.dbmarlin.DBmarlinLogFormatter;
import java.util.logging.Formatter;

public class LogStreamer extends StructuredLogService {

    @Override
    public int getPriority() {
        return super.getPriority() + 100;
    }

    @Override
    public Formatter getCustomFormatter() {
        return LicenseServiceUtils.isProLicenseValid() ? new DBmarlinLogFormatter() : null;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy