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);
}
}
}