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

querqy.elasticsearch.infologging.ESInfoLoggingContext Maven / Gradle / Ivy

package querqy.elasticsearch.infologging;

import querqy.infologging.InfoLogging;
import querqy.infologging.InfoLoggingContext;
import querqy.rewrite.SearchEngineRequestAdapter;

public class ESInfoLoggingContext extends InfoLoggingContext {


    public ESInfoLoggingContext(final InfoLogging infoLogging,
                                final SearchEngineRequestAdapter searchEngineRequestAdapter) {
        super(infoLogging, searchEngineRequestAdapter);
    }

    @Override
    public void log(final Object message) {
        if (isEnabledForRewriter()) {
            super.log(message);
        }
    }


}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy