The properties of the FileAppender class are listed below. For a complete list of FileAppender class members, see the FileAppender Members topic.
AppendToFile | Gets or sets a flag that indicates whether the file should be appended to or overwritten. |
Encoding | Gets or sets Encoding used to write to the file. |
ErrorHandler (inherited from TextWriterAppender) | Gets or set the IErrorHandler and the underlying QuietTextWriter, if any, for this appender. |
File | Gets or sets the path to the file that logging will be written to. |
FilterHead (inherited from AppenderSkeleton) | The filter chain. |
ImmediateFlush (inherited from TextWriterAppender) | Gets or set whether the appender will flush at the end of each append operation. |
Layout (inherited from AppenderSkeleton) | Gets or sets the ILayout for this appender. |
LockingModel | Gets or sets the LockingModel used to handle locking of the file. |
Name (inherited from AppenderSkeleton) | Gets or sets the name of this appender. |
SecurityContext | Gets or sets the SecurityContext used to write to the file. |
Threshold (inherited from AppenderSkeleton) | Gets or sets the threshold Level of this appender. |
Writer (inherited from TextWriterAppender) | Sets the TextWriter where the log output will go. |
QuietWriter (inherited from TextWriterAppender) | Gets or sets the QuietTextWriter where logging events will be written to. |
RequiresLayout (inherited from TextWriterAppender) | This appender requires a log4net.Layout to be set. |
FileAppender Class | log4net.Appender Namespace