org.apache.log.output
Class FileOutputLogTarget
java.lang.Object
org.apache.log.output.AbstractTarget
org.apache.log.output.AbstractOutputTarget
org.apache.log.output.io.WriterTarget
org.apache.log.output.DefaultOutputLogTarget
org.apache.log.output.FileOutputLogTarget
- All Implemented Interfaces:
- Closeable, ErrorAware, LogTarget
Deprecated. Use org.apache.log.output.io.FileTarget as this class is not thread safe
- public class FileOutputLogTarget
- extends DefaultOutputLogTarget
This is a basic Output log target that writes to a file.
- Author:
- ,
| Field Summary |
private boolean |
m_append
Deprecated. |
| Method Summary |
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. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
m_append
private boolean m_append
-
Deprecated.
FileOutputLogTarget
public FileOutputLogTarget()
- Deprecated.
FileOutputLogTarget
public FileOutputLogTarget(java.lang.String filename)
throws java.io.IOException
- Deprecated.
FileOutputLogTarget
public FileOutputLogTarget(java.lang.String filename,
boolean append)
throws java.io.IOException
- Deprecated.
setAppend
public void setAppend(boolean append)
- Deprecated.
-
setFilename
public void setFilename(java.lang.String filename)
throws java.io.IOException
- Deprecated.
-
Overwrites the m_output value in the super class through assignment of an OutputStreamWriter based on a supplied file path. Side-effects include the creation of a directory path based relative to the supplied filename.
-
- Parameters:
filename - path and filename for log destination
- Throws:
java.io.IOException
Please see keelframework.org for information about new Keel releases.