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

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

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

import liquibase.logging.Logger;

/**
 * Log service for the {@link NoOpLogger} which does nothing with the log records it is provided.
 */
public class NoOpLogService extends AbstractLogService {

    private static final NoOpLogger NO_OP_LOGGER = new NoOpLogger();

    @Override
    public int getPriority() {
        return PRIORITY_NOT_APPLICABLE;
    }

    @Override
    public Logger getLog(Class clazz) {
        return NO_OP_LOGGER;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy