The RollingFileAppender type exposes the following members.
Back to Top
Methods
Name | Description | |
---|---|---|
ActivateOptions |
Initialize the appender based on the options set
(Overrides FileAppender ActivateOptions .) | |
AddFilter |
Adds a filter to the end of the filter chain.
(Inherited from AppenderSkeleton.) | |
AdjustFileBeforeAppend |
Performs any required rolling before outputting the next event
| |
Append(LoggingEvent) |
Write out a logging event.
(Overrides FileAppender Append(LoggingEvent).) | |
Append( LoggingEvent ) |
Write out an array of logging events.
(Overrides FileAppender Append( 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.
(Inherited from FileAppender.) | |
CloseWriter |
Closes the underlying TextWriter.
(Inherited from FileAppender.) | |
DeleteFile |
Deletes the specified file if it exists.
| |
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.) | |
ExistingInit |
Initializes based on existing conditions at time of ActivateOptions .
| |
FileExists |
Test if a file exists at a specified path
| |
FilterEvent |
Test if the logging event should we output by this appender
(Inherited from AppenderSkeleton.) | |
Finalize |
Cleans up all resources used by this appender.
(Overrides AppenderSkeleton Finalize .) | |
GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
GetNextOutputFileName |
Get the current output file name
| |
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.) | |
NextCheckDate |
Get the start time of the next window for the current rollpoint
| |
OnClose |
Close this appender instance. The underlying stream or writer is also closed.
(Inherited from FileAppender.) | |
OpenFile |
Creates and opens the file for logging. If StaticLogFileName
is false then the fully qualified name is determined and used.
(Overrides FileAppender OpenFile(String, Boolean).) | |
PreAppendCheck |
This method determines if there is a sense in attempting to append.
(Inherited from TextWriterAppender.) | |
PrepareWriter |
Called to initialize the file writer
(Inherited from FileAppender.) | |
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 .
(Inherited from FileAppender.) | |
RollFile |
Renames file fromFile to file toFile.
| |
RollOverRenameFiles |
Implements file roll.
| |
RollOverSize |
Implements file roll base on file size.
| |
RollOverTime |
Rollover the file(s) to date/time tagged file(s).
| |
SafeOpenFile |
Sets and opens the file where the log output will go. The specified file must be writable.
(Inherited from FileAppender.) | |
SetQWForFiles(Stream) |
Sets the quiet writer used for file output
(Inherited from FileAppender.) | |
SetQWForFiles(TextWriter) |
Sets the quiet writer being used.
(Overrides FileAppender SetQWForFiles(TextWriter).) | |
ToString | (Inherited from Object.) | |
WriteFooter |
Writes a footer as produced by the embedded layout's Footer property.
(Inherited from FileAppender.) | |
WriteFooterAndCloseWriter |
Writes the footer and closes the underlying TextWriter.
(Inherited from TextWriterAppender.) | |
WriteHeader |
Writes a header produced by the embedded layout's Header property.
(Inherited from FileAppender.) |
See Also