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:
- 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:
- Peter Donald, Stephen McConnell
Method Summary |
void |
setAppend(boolean append)
Deprecated. |
void |
setFilename(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 |
FileOutputLogTarget
public FileOutputLogTarget()
- Deprecated.
FileOutputLogTarget
public FileOutputLogTarget(String filename)
throws IOException
- Deprecated.
FileOutputLogTarget
public FileOutputLogTarget(String filename,
boolean append)
throws IOException
- Deprecated.
setAppend
public void setAppend(boolean append)
- Deprecated.
setFilename
public void setFilename(String filename)
throws 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
IOException
Copyright © 2001 Apache Jakarta Project. All Rights Reserved.