org.apache.solr.update
Class LoggingInfoStream

java.lang.Object
  extended by org.apache.lucene.util.InfoStream
      extended by org.apache.solr.update.LoggingInfoStream
All Implemented Interfaces:
Closeable, Cloneable

public class LoggingInfoStream
extends InfoStream

An InfoStream implementation which passes messages on to Solr's logging.


Field Summary
static org.slf4j.Logger log
           
 
Fields inherited from class org.apache.lucene.util.InfoStream
NO_OUTPUT
 
Constructor Summary
LoggingInfoStream()
           
 
Method Summary
 void close()
           
 boolean isEnabled(String component)
           
 void message(String component, String message)
           
 
Methods inherited from class org.apache.lucene.util.InfoStream
clone, getDefault, setDefault
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

public static final org.slf4j.Logger log
Constructor Detail

LoggingInfoStream

public LoggingInfoStream()
Method Detail

message

public void message(String component,
                    String message)
Specified by:
message in class InfoStream

isEnabled

public boolean isEnabled(String component)
Specified by:
isEnabled in class InfoStream

close

public void close()
           throws IOException
Throws:
IOException


Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.