class FileLoggingHandler extends java.util.logging.Handler
Constructor and Description |
---|
FileLoggingHandler(String fName,
java.util.logging.Formatter formatter)
Creates an instance of FileLoggingHandler.
|
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
flush() |
void |
publish(java.util.logging.LogRecord record) |
getEncoding, getErrorManager, getFilter, getFormatter, getLevel, isLoggable, reportError, setEncoding, setErrorManager, setFilter, setFormatter, setLevel
public FileLoggingHandler(String fName, java.util.logging.Formatter formatter) throws IOException
fName
- The name of the log file.formatter
- The formatter for the log file.IOException
- Is thrown if something goes wrong.public void close() throws SecurityException
close
in class java.util.logging.Handler
SecurityException
public void flush()
flush
in class java.util.logging.Handler
public void publish(java.util.logging.LogRecord record)
publish
in class java.util.logging.Handler
TV-Browser 2.7.6, Copyright (C) 04-2003 Martin Oberhauser (martin@tvbrowser.org)