org.apache.log.output
public class FileOutputLogTarget extends DefaultOutputLogTarget
m_output
m_formatter
Constructor and Description |
---|
FileOutputLogTarget()
Deprecated.
|
FileOutputLogTarget(java.lang.String filename)
Deprecated.
|
FileOutputLogTarget(java.lang.String filename,
boolean append)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
setAppend(boolean append)
Deprecated.
|
void |
setFilename(java.lang.String filename)
Deprecated.
Overwrites the m_output value in the super class through
assignment of an OutputStreamWriter based on a supplied
file path.
|
initPattern, setFormat
close, setWriter, shutdownWriter, write
doProcessEvent, getFormatter, open, output, setFormatter
error, getErrorHandler, isOpen, processEvent, setErrorHandler
public FileOutputLogTarget()
public FileOutputLogTarget(java.lang.String filename) throws java.io.IOException
java.io.IOException
public FileOutputLogTarget(java.lang.String filename, boolean append) throws java.io.IOException
java.io.IOException
public void setAppend(boolean append)
public void setFilename(java.lang.String filename) throws java.io.IOException
filename
- path and filename for log destinationjava.io.IOException