- java.lang.Object
-
- java.util.logging.Handler
-
- tvbrowser.FileLoggingHandler
-
class FileLoggingHandler extends java.util.logging.Handler
-
-
Constructor Summary
Constructors Constructor Description FileLoggingHandler(java.lang.String fName, java.util.logging.Formatter formatter)
Creates an instance of FileLoggingHandler.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
void
flush()
void
publish(java.util.logging.LogRecord record)
-
-
-
Constructor Detail
-
FileLoggingHandler
public FileLoggingHandler(java.lang.String fName, java.util.logging.Formatter formatter) throws java.io.IOException
Creates an instance of FileLoggingHandler.- Parameters:
fName
- The name of the log file.formatter
- The formatter for the log file.- Throws:
java.io.IOException
- Is thrown if something goes wrong.
-
-
Method Detail
-
close
public void close() throws java.lang.SecurityException
- Specified by:
close
in classjava.util.logging.Handler
- Throws:
java.lang.SecurityException
-
flush
public void flush()
- Specified by:
flush
in classjava.util.logging.Handler
-
publish
public void publish(java.util.logging.LogRecord record)
- Specified by:
publish
in classjava.util.logging.Handler
-
-