Class LoggerInfoStream

java.lang.Object
org.apache.lucene.util.InfoStream
org.elasticsearch.common.lucene.LoggerInfoStream
All Implemented Interfaces:
Closeable, AutoCloseable

public final class LoggerInfoStream extends org.apache.lucene.util.InfoStream
An InfoStream (for Lucene's IndexWriter) that redirects messages to "lucene.iw.ifd" and "lucene.iw" Logger.trace.
  • Constructor Details

    • LoggerInfoStream

      public LoggerInfoStream(org.apache.logging.log4j.Logger parentLogger)
  • Method Details

    • message

      public void message(String component, String message)
      Specified by:
      message in class org.apache.lucene.util.InfoStream
    • isEnabled

      public boolean isEnabled(String component)
      Specified by:
      isEnabled in class org.apache.lucene.util.InfoStream
    • close

      public void close()