org.apache.juli
public class FileHandler extends java.util.logging.Handler
Constructor and Description |
---|
FileHandler() |
FileHandler(java.lang.String directory,
java.lang.String prefix,
java.lang.String suffix) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Close the currently open log file (if any).
|
protected void |
closeWriter() |
void |
flush()
Flush the writer.
|
protected void |
open()
Open the new log file for the date specified by
date . |
protected void |
openWriter() |
void |
publish(java.util.logging.LogRecord record)
Format and publish a LogRecord.
|
public FileHandler()
public FileHandler(java.lang.String directory, java.lang.String prefix, java.lang.String suffix)
public void publish(java.util.logging.LogRecord record)
publish
in class java.util.logging.Handler
record
- description of the log eventpublic void close()
close
in class java.util.logging.Handler
protected void closeWriter()
public void flush()
flush
in class java.util.logging.Handler
protected void open()
date
.protected void openWriter()
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.