public class HarvestFileHandler
extends java.util.logging.FileHandler
Constructor and Description |
---|
HarvestFileHandler(java.lang.String file,
boolean append,
java.util.logging.Level level,
java.util.logging.Formatter formatter)
Constructor.
|
HarvestFileHandler(java.lang.String file,
java.util.logging.Formatter formatter)
Constructor that does not append to a file and automatically
sets the log level to 'ALL'.
|
HarvestFileHandler(java.lang.String file,
java.util.logging.Level level,
java.util.logging.Formatter formatter)
Constructor that does not append to a file.
|
flush, isLoggable, setEncoding, setOutputStream
public HarvestFileHandler(java.lang.String file, java.util.logging.Formatter formatter) throws java.lang.SecurityException, java.io.IOException
file
- A file name to store the logging messages. If the file
exists, it will overwrite the existing contents.formatter
- Formatter to be used to format the log messages.java.lang.SecurityException
java.io.IOException
public HarvestFileHandler(java.lang.String file, java.util.logging.Level level, java.util.logging.Formatter formatter) throws java.lang.SecurityException, java.io.IOException
file
- A file name to store the logging messages.level
- Sets the logging level.formatter
- Formatter to be used to format the log messages.java.lang.SecurityException
java.io.IOException
public HarvestFileHandler(java.lang.String file, boolean append, java.util.logging.Level level, java.util.logging.Formatter formatter) throws java.lang.SecurityException, java.io.IOException
file
- A file name to store the logging messages.append
- A flag to tell the handler to append to the file or
to overwrite the existing contents.level
- Sets the logging level.formatter
- Formatter to be used to format the log messages.java.lang.SecurityException
java.io.IOException
Copyright © 2010-2018 Planetary Data System. All Rights Reserved.