public class ToolsFileHandler extends FileHandler
Constructor and Description |
---|
ToolsFileHandler(String file,
boolean append,
Level level,
Formatter formatter)
Constructor.
|
ToolsFileHandler(String file,
Formatter formatter)
Constructor that does not append to a file and automatically
sets the log level to 'ALL'.
|
ToolsFileHandler(String file,
Level level,
Formatter formatter)
Constructor that does not append to a file.
|
close, publish
flush, isLoggable, setEncoding, setOutputStream
getEncoding, getErrorManager, getFilter, getFormatter, getLevel, reportError, setErrorManager, setFilter, setFormatter, setLevel
public ToolsFileHandler(String file, Formatter formatter) throws SecurityException, 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.SecurityException
IOException
public ToolsFileHandler(String file, Level level, Formatter formatter) throws SecurityException, 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.SecurityException
IOException
public ToolsFileHandler(String file, boolean append, Level level, Formatter formatter) throws SecurityException, 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.SecurityException
IOException
Copyright © 2010–2017 Planetary Data System. All rights reserved.