org.apache.log.output
Class FileOutputLogTarget
- ErrorAware, LogTarget
public class FileOutputLogTarget
This is a basic Output log target that writes to a file.
void | setAppend(boolean append)
|
void | setFilename(String filename) - Overwrites the m_output value in the super class through
assignment of an OutputStreamWriter based on a supplied
file path.
|
FileOutputLogTarget
public FileOutputLogTarget()
FileOutputLogTarget
public FileOutputLogTarget(String filename)
throws IOException
FileOutputLogTarget
public FileOutputLogTarget(String filename,
boolean append)
throws IOException
setAppend
public void setAppend(boolean append)
setFilename
public void setFilename(String filename)
throws IOException
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.
filename
- path and filename for log destination