RollingFileAppender MethodsApache log4net™ SDK Documentation

The RollingFileAppender type exposes the following members.

Methods

  NameDescription
Public methodActivateOptions
Initialize the appender based on the options set
(Overrides FileAppenderActivateOptions.)
Public methodAddFilter
Adds a filter to the end of the filter chain.
(Inherited from AppenderSkeleton.)
Protected methodAdjustFileBeforeAppend
Performs any required rolling before outputting the next event
Protected methodAppend(LoggingEvent)
Write out a logging event.
(Overrides FileAppenderAppend(LoggingEvent).)
Protected methodAppend(LoggingEvent)
Write out an array of logging events.
(Overrides FileAppenderAppend(LoggingEvent).)
Public methodClearFilters
Clears the filter list for this appender.
(Inherited from AppenderSkeleton.)
Public methodClose
Closes the appender and release resources.
(Inherited from AppenderSkeleton.)
Protected methodCloseFile
Closes the previously opened file.
(Inherited from FileAppender.)
Protected methodCloseWriter
Closes the underlying TextWriter.
(Inherited from FileAppender.)
Protected methodDeleteFile
Deletes the specified file if it exists.
Public methodDoAppend(LoggingEvent)
Performs threshold checks and invokes filters before delegating actual logging to the subclasses specific [M:Append(LoggingEvent)] method.
(Inherited from AppenderSkeleton.)
Public methodDoAppend(LoggingEvent)
Performs threshold checks and invokes filters before delegating actual logging to the subclasses specific [M:Append(LoggingEvent[])] method.
(Inherited from AppenderSkeleton.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodExistingInit
Protected methodFileExists
Test if a file exists at a specified path
Protected methodFilterEvent
Test if the logging event should we output by this appender
(Inherited from AppenderSkeleton.)
Protected methodFinalize
Cleans up all resources used by this appender.
(Overrides AppenderSkeletonFinalize.)
Public methodFlush
Flushes any buffered log data.
(Inherited from TextWriterAppender.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Protected methodGetNextOutputFileName
Get the current output file name
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodIsAsSevereAsThreshold
Checks if the message level is below this appender's threshold.
(Inherited from AppenderSkeleton.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodNextCheckDate
Get the start time of the next window for the current rollpoint
Protected methodOnClose
Close this appender instance. The underlying stream or writer is also closed.
(Inherited from FileAppender.)
Protected methodOpenFile
Creates and opens the file for logging. If StaticLogFileName is false then the fully qualified name is determined and used.
(Overrides FileAppenderOpenFile(String, Boolean).)
Protected methodPreAppendCheck
This method determines if there is a sense in attempting to append.
(Inherited from TextWriterAppender.)
Protected methodPrepareWriter
Called to initialize the file writer
(Inherited from FileAppender.)
Protected methodRenderLoggingEvent(LoggingEvent)
Renders the LoggingEvent to a string.
(Inherited from AppenderSkeleton.)
Protected methodRenderLoggingEvent(TextWriter, LoggingEvent)
Renders the LoggingEvent to a string.
(Inherited from AppenderSkeleton.)
Protected methodReset
Closes any previously opened file and calls the parent's Reset.
(Inherited from FileAppender.)
Protected methodRollFile
Renames file fromFile to file toFile.
Protected methodRollOverRenameFiles
Implements file roll.
Protected methodRollOverSize
Implements file roll base on file size.
Protected methodRollOverTime
Rollover the file(s) to date/time tagged file(s).
Protected methodSafeOpenFile
Sets and opens the file where the log output will go. The specified file must be writable.
(Inherited from FileAppender.)
Protected methodSetQWForFiles(Stream)
Sets the quiet writer used for file output
(Inherited from FileAppender.)
Protected methodSetQWForFiles(TextWriter)
Sets the quiet writer being used.
(Overrides FileAppenderSetQWForFiles(TextWriter).)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Protected methodWriteFooter
Writes a footer as produced by the embedded layout's Footer property.
(Inherited from FileAppender.)
Protected methodWriteFooterAndCloseWriter
Writes the footer and closes the underlying TextWriter.
(Inherited from TextWriterAppender.)
Protected methodWriteHeader
Writes a header produced by the embedded layout's Header property.
(Inherited from FileAppender.)
Top
See Also

Reference