Class PlainFileHandler
java.lang.Object
java.util.logging.Handler
java.util.logging.StreamHandler
java.util.logging.FileHandler
com.xinapse.util.logging.PlainFileHandler
A
FileHandler that publishes log records to
File with Xinapse-specific formatting.-
Constructor Summary
ConstructorsConstructorDescriptionConstructs aFileHandlerthat publishes log records to a File. -
Method Summary
Methods inherited from class FileHandler
closeMethods inherited from class StreamHandler
flush, isLoggable, setEncodingMethods inherited from class Handler
getEncoding, getErrorManager, getFilter, getFormatter, getLevel, setErrorManager, setFilter, setFormatter, setLevel
-
Constructor Details
-
PlainFileHandler
Constructs aFileHandlerthat publishes log records to a File.- Parameters:
f- theFileto which logging messages are written.- Throws:
IOException- if the file cannot be written to.
-
-
Method Details
-
publish
- Overrides:
publishin classFileHandler
-