public class NodeFileHandler
extends java.util.logging.FileHandler
Otherwise it is a drop-in replacement for FileHandler
. That is, all configurations
apply but instead of using the prefix java.util.logging.FileHandler
you use the prefix com.zfabrik.util.logging.NodeFileHandler
.
For example, in order to set a formatter, use com.zfabrik.util.logging.NodeFileHandler.formatter
.
Constructor | Description |
---|---|
NodeFileHandler() |
This constructor assumes all config from the
LogManager |
NodeFileHandler(java.lang.String pattern) |
This constructor takes append from the
LogManager and defaults to 0 and 1 for limit and count resp. |
NodeFileHandler(java.lang.String pattern,
boolean append) |
This constructor defaults to 0 and 1 for limit and count resp.
|
NodeFileHandler(java.lang.String pattern,
int limit,
int count) |
This constructor takes append from the
LogManager . |
NodeFileHandler(java.lang.String pattern,
int limit,
int count,
boolean append) |
Full-configuration constructor
|
getEncoding, getErrorManager, getFilter, getFormatter, getLevel, reportError, setErrorManager, setFilter, setFormatter, setLevel
public NodeFileHandler() throws java.io.IOException, java.lang.SecurityException
LogManager
java.io.IOException
java.lang.SecurityException
public NodeFileHandler(java.lang.String pattern) throws java.io.IOException, java.lang.SecurityException
LogManager
and defaults to 0 and 1 for limit and count resp.java.io.IOException
java.lang.SecurityException
public NodeFileHandler(java.lang.String pattern, boolean append) throws java.io.IOException, java.lang.SecurityException
java.io.IOException
java.lang.SecurityException
public NodeFileHandler(java.lang.String pattern, int limit, int count) throws java.io.IOException, java.lang.SecurityException
LogManager
.java.io.IOException
java.lang.SecurityException
public NodeFileHandler(java.lang.String pattern, int limit, int count, boolean append) throws java.io.IOException, java.lang.SecurityException
java.io.IOException
java.lang.SecurityException