The FileAppender type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() | ActivateOptions |
Activate the options on the file appender.
(Overrides AppenderSkeletonActivateOptions.) |
![]() | AddFilter |
Adds a filter to the end of the filter chain.
(Inherited from AppenderSkeleton.) |
![]() | Append(LoggingEvent) |
This method is called by the DoAppend(LoggingEvent)
method.
(Overrides TextWriterAppenderAppend(LoggingEvent).) |
![]() | Append(LoggingEvent) |
This method is called by the DoAppend(LoggingEvent)
method.
(Overrides TextWriterAppenderAppend(LoggingEvent).) |
![]() | ClearFilters |
Clears the filter list for this appender.
(Inherited from AppenderSkeleton.) |
![]() | Close |
Closes the appender and release resources.
(Inherited from AppenderSkeleton.) |
![]() | CloseFile |
Closes the previously opened file.
|
![]() | CloseWriter |
Closes the underlying TextWriter.
(Overrides TextWriterAppenderCloseWriter.) |
![]() ![]() | ConvertToFullPath |
Convert a path into a fully qualified path.
|
![]() | DoAppend(LoggingEvent) |
Performs threshold checks and invokes filters before
delegating actual logging to the subclasses specific
[M:Append(LoggingEvent)] method.
(Inherited from AppenderSkeleton.) |
![]() | DoAppend(LoggingEvent) |
Performs threshold checks and invokes filters before
delegating actual logging to the subclasses specific
[M:Append(LoggingEvent[])] method.
(Inherited from AppenderSkeleton.) |
![]() | Equals | (Inherited from Object.) |
![]() | FilterEvent |
Test if the logging event should we output by this appender
(Inherited from AppenderSkeleton.) |
![]() | Finalize |
Finalizes this appender by calling the implementation's
Close method.
(Inherited from AppenderSkeleton.) |
![]() | Flush |
Flushes any buffered log data.
(Inherited from TextWriterAppender.) |
![]() | GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) |
![]() | GetType |
Gets the Type of the current instance.
(Inherited from Object.) |
![]() | IsAsSevereAsThreshold |
Checks if the message level is below this appender's threshold.
(Inherited from AppenderSkeleton.) |
![]() | MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) |
![]() | OnClose |
Close this appender instance. The underlying stream or writer is also closed.
(Overrides TextWriterAppenderOnClose.) |
![]() | OpenFile |
Sets and opens the file where the log output will go. The specified file must be writable.
|
![]() | PreAppendCheck |
This method determines if there is a sense in attempting to append.
(Inherited from TextWriterAppender.) |
![]() | PrepareWriter |
Called to initialize the file writer
(Overrides TextWriterAppenderPrepareWriter.) |
![]() | RenderLoggingEvent(LoggingEvent) |
Renders the LoggingEvent to a string.
(Inherited from AppenderSkeleton.) |
![]() | RenderLoggingEvent(TextWriter, LoggingEvent) |
Renders the LoggingEvent to a string.
(Inherited from AppenderSkeleton.) |
![]() | Reset |
Closes any previously opened file and calls the parent's Reset.
(Overrides TextWriterAppenderReset.) |
![]() | SafeOpenFile |
Sets and opens the file where the log output will go. The specified file must be writable.
|
![]() | SetQWForFiles(Stream) |
Sets the quiet writer used for file output
|
![]() | SetQWForFiles(TextWriter) |
Sets the quiet writer being used.
|
![]() | ToString | (Inherited from Object.) |
![]() | WriteFooter |
Writes a footer as produced by the embedded layout's Footer property.
(Overrides TextWriterAppenderWriteFooter.) |
![]() | WriteFooterAndCloseWriter |
Writes the footer and closes the underlying TextWriter.
(Inherited from TextWriterAppender.) |
![]() | WriteHeader |
Writes a header produced by the embedded layout's Header property.
(Overrides TextWriterAppenderWriteHeader.) |
See Also