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

liquibase.logging.core.AbstractLogger Maven / Gradle / Ivy

There is a newer version: 3.6.2.5.inovus
Show newest version
package liquibase.logging.core;

import liquibase.logging.LogType;
import liquibase.logging.Logger;

/**
 * Convenience base implementation of a Logger.
 */
public abstract class AbstractLogger implements Logger {

    @Override
    public void severe(String message) {
        this.severe(LogType.LOG, message);
    }

    @Override
    public void severe(String message, Throwable e) {
        this.severe(LogType.LOG, message, e);
    }

    @Override
    public void warning(String message) {
        this.warning(LogType.LOG, message);
    }

    @Override
    public void warning(String message, Throwable e) {
        this.warning(LogType.LOG, message, e);
    }

    @Override
    public void info(String message) {
        this.info(LogType.LOG, message);
    }

    @Override
    public void info(String message, Throwable e) {
        this.info(LogType.LOG, message, e);
    }

    @Override
    public void debug(String message) {
        this.debug(LogType.LOG, message);
    }

    @Override
    public void debug(String message, Throwable e) {
        this.debug(LogType.LOG, message, e);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy