|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.logging.Handler
java.util.logging.StreamHandler
java.util.logging.FileHandler
net.sf.jaxodraw.logging.JaxoFileHandler
public final class JaxoFileHandler
File implementation of JaxoLogger. Uses a FileHandler, ie logs are written to a log file.
Constructor Summary | |
---|---|
JaxoFileHandler(String logDir)
Constructor. |
|
JaxoFileHandler(String logDir,
String pattern)
Constructor. |
|
JaxoFileHandler(String logDir,
String pattern,
int limit)
Constructor. |
|
JaxoFileHandler(String logDir,
String pattern,
int limit,
int logFiles)
Constructor. |
Method Summary |
---|
Methods inherited from class java.util.logging.FileHandler |
---|
close, publish |
Methods inherited from class java.util.logging.StreamHandler |
---|
flush, isLoggable, setEncoding, setOutputStream |
Methods inherited from class java.util.logging.Handler |
---|
getEncoding, getErrorManager, getFilter, getFormatter, getLevel, reportError, setErrorManager, setFilter, setFormatter, setLevel |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JaxoFileHandler(String logDir, String pattern, int limit, int logFiles) throws IOException
logDir
- The directory where log files will be stored.
This directory has to exist!pattern
- the pattern for naming the output file.limit
- limit the maximum number of bytes to write to any one file.logFiles
- the number of files to use.
IOException
- if there are IO problems opening the files.public JaxoFileHandler(String logDir) throws IOException
logDir
- The directory where log files will be stored.
This directory has to exist!
IOException
- if there are IO problems opening the files.public JaxoFileHandler(String logDir, String pattern) throws IOException
logDir
- The directory where log files will be stored.
This directory has to exist!pattern
- the pattern for naming the output file.
IOException
- if there are IO problems opening the files.public JaxoFileHandler(String logDir, String pattern, int limit) throws IOException
logDir
- The directory where log files will be stored.
This directory has to exist!pattern
- the pattern for naming the output file.limit
- the maximum number of bytes to write to any one file.
IOException
- if there are IO problems opening the files.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |