gov.nasa.pds.harvest.pdap.logging.handler
Class HarvestPdapStreamHandler
java.lang.Object
java.util.logging.Handler
java.util.logging.StreamHandler
gov.nasa.pds.harvest.pdap.logging.handler.HarvestPdapStreamHandler
public class HarvestPdapStreamHandler
- extends StreamHandler
This class sets up a stream handler for the tools logging capability.
- Author:
- mcayanan
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HarvestPdapStreamHandler
public HarvestPdapStreamHandler(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.
HarvestPdapStreamHandler
public HarvestPdapStreamHandler(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.
Copyright © 2010–2014 Planetary Data System. All rights reserved.