Package org.apache.solr.update
Class LoggingInfoStream
- java.lang.Object
-
- org.apache.lucene.util.InfoStream
-
- org.apache.solr.update.LoggingInfoStream
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
public class LoggingInfoStream extends org.apache.lucene.util.InfoStream
AnInfoStream
implementation which passes messages on to Solr's logging.
-
-
Constructor Summary
Constructors Constructor Description LoggingInfoStream()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
boolean
isEnabled(String component)
void
message(String component, String message)
-
-
-
Method Detail
-
message
public void message(String component, String message)
- Specified by:
message
in classorg.apache.lucene.util.InfoStream
-
isEnabled
public boolean isEnabled(String component)
- Specified by:
isEnabled
in classorg.apache.lucene.util.InfoStream
-
close
public void close() throws IOException
- Throws:
IOException
-
-