Package org.opensearch.common.lucene
Class LoggerInfoStream
java.lang.Object
org.apache.lucene.util.InfoStream
org.opensearch.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.
- Opensearch.internal:
-
Field Summary
Fields inherited from class org.apache.lucene.util.InfoStream
NO_OUTPUT
-
Constructor Summary
-
Method Summary
Methods inherited from class org.apache.lucene.util.InfoStream
getDefault, setDefault
-
Constructor Details
-
LoggerInfoStream
public LoggerInfoStream(org.apache.logging.log4j.Logger parentLogger)
-
-
Method Details
-
message
- Specified by:
message
in classorg.apache.lucene.util.InfoStream
-
isEnabled
- Specified by:
isEnabled
in classorg.apache.lucene.util.InfoStream
-
close
public void close()
-