liquibase.logging.core.NoOpLogService Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of liquibase-core Show documentation
Show all versions of liquibase-core Show documentation
Liquibase is a tool for managing and executing database changes.
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;
}
}