Class LoggerInfoStream

  • All Implemented Interfaces:, java.lang.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.
    • Field Summary

      • Fields inherited from class org.apache.lucene.util.InfoStream

    • Constructor Summary

      Constructor Description
      LoggerInfoStream​(org.apache.logging.log4j.Logger parentLogger)  
    • Method Summary

      Modifier and Type Method Description
      void close()  
      boolean isEnabled​(java.lang.String component)  
      void message​(java.lang.String component, java.lang.String message)  
      • Methods inherited from class org.apache.lucene.util.InfoStream

        getDefault, setDefault
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • LoggerInfoStream

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

      • message

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

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

        public void close()