Class HarvestStreamHandler
- java.lang.Object
- 
- java.util.logging.Handler
- 
- java.util.logging.StreamHandler
- 
- gov.nasa.pds.harvest.search.logging.handler.HarvestStreamHandler
 
 
 
- 
 public class HarvestStreamHandler extends StreamHandler This class sets up a stream handler for the tools logging capability.- Author:
- mcayanan
 
- 
- 
Constructor SummaryConstructors Constructor Description HarvestStreamHandler(OutputStream out, Formatter formatter)Constructor.HarvestStreamHandler(OutputStream out, Level level, Formatter formatter)Constructor.
 - 
Method Summary- 
Methods inherited from class java.util.logging.StreamHandlerclose, flush, isLoggable, publish, setEncoding, setOutputStream
 - 
Methods inherited from class java.util.logging.HandlergetEncoding, getErrorManager, getFilter, getFormatter, getLevel, reportError, setErrorManager, setFilter, setFormatter, setLevel
 
- 
 
- 
- 
- 
Constructor Detail- 
HarvestStreamHandlerpublic HarvestStreamHandler(OutputStream out, Formatter formatter) Constructor. Automatically sets the log level to 'ALL'.- Parameters:
- out- An output stream.
- formatter- Formatter to be used to format the log messages.
 
 - 
HarvestStreamHandlerpublic HarvestStreamHandler(OutputStream out, Level level, Formatter formatter) Constructor.- Parameters:
- out- An output stream.
- level- Sets the log level, specifying which message levels will be logged by this handler.
- formatter- Formatter to be used to format the log messages.
 
 
- 
 
-