org.apache.log.output.io
public class SafeFileTarget extends FileTarget
Constructor Summary | |
---|---|
SafeFileTarget(File file, boolean append, Formatter formatter)
Construct file target to write to a file with a formatter.
|
Method Summary | |
---|---|
void | processEvent(LogEvent event)
Process a log event, via formatting and outputting it.
|
Parameters: file the file to write to append true if file is to be appended to, false otherwise formatter the Formatter
Throws: IOException if an error occurs
Parameters: event the log event