public abstract class FileAppender
extends org.apache.log4j.WriterAppender
Constructor and Description |
---|
FileAppender() |
Modifier and Type | Method and Description |
---|---|
void |
append(org.apache.log4j.spi.LoggingEvent event) |
abstract void |
append(String cacheKey,
org.apache.log4j.spi.LoggingEvent event) |
void |
close() |
boolean |
requiresLayout() |
void |
setFilesLocation(String logsLocation) |
void |
setMaxFileSize(String valueAsString) |
activateOptions, checkEntryConditions, closeWriter, createWriter, getEncoding, getImmediateFlush, reset, setEncoding, setErrorHandler, setImmediateFlush, setWriter, shouldFlush, subAppend, writeFooter, writeHeader
public static final String FILE_NAME
public void append(org.apache.log4j.spi.LoggingEvent event)
append
in class org.apache.log4j.WriterAppender
public abstract void append(String cacheKey, org.apache.log4j.spi.LoggingEvent event)
public void close()
close
in interface org.apache.log4j.Appender
close
in class org.apache.log4j.WriterAppender
public boolean requiresLayout()
requiresLayout
in interface org.apache.log4j.Appender
requiresLayout
in class org.apache.log4j.WriterAppender
public void setMaxFileSize(String valueAsString)
public void setFilesLocation(String logsLocation)