TextWriterAppender MethodsApache log4net™ SDK Documentation
The TextWriterAppender type exposes the following members.
Methods

  NameDescription
Public methodActivateOptions
Initialize the appender based on the options set
(Inherited from AppenderSkeleton.)
Public methodAddFilter
Adds a filter to the end of the filter chain.
(Inherited from AppenderSkeleton.)
Protected methodAppend(LoggingEvent)
This method is called by the DoAppend(LoggingEvent) method.
(Overrides AppenderSkeleton Append(LoggingEvent).)
Protected methodAppend( LoggingEvent )
This method is called by the DoAppend( LoggingEvent ) method.
(Overrides AppenderSkeleton Append( 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 methodCloseWriter
Closes the underlying OnlineTextWriter.
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 methodOnlineEquals
Determines whether the specified OnlineObject is equal to the current OnlineObject.
(Inherited from OnlineObject.)
Protected methodFilterEvent
Test if the logging event should we output by this appender
(Inherited from AppenderSkeleton.)
Protected methodFinalize
Finalizes this appender by calling the implementation's Close  method.
(Inherited from AppenderSkeleton.)
Public methodOnlineGetHashCode
Serves as a hash function for a particular type.
(Inherited from OnlineObject.)
Public methodOnlineGetType
Gets the OnlineType of the current instance.
(Inherited from OnlineObject.)
Protected methodIsAsSevereAsThreshold
Checks if the message level is below this appender's threshold.
(Inherited from AppenderSkeleton.)
Protected methodOnlineMemberwiseClone
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
Protected methodOnClose
Close this appender instance. The underlying stream or writer is also closed.
(Overrides AppenderSkeleton OnClose .)
Protected methodPreAppendCheck
This method determines if there is a sense in attempting to append.
(Overrides AppenderSkeleton PreAppendCheck .)
Protected methodPrepareWriter
Called to allow a subclass to lazily initialize the writer
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
Clears internal references to the underlying OnlineTextWriter and other variables.
Public methodOnlineToString
Returns a OnlineString that represents the current OnlineObject.
(Inherited from OnlineObject.)
Protected methodWriteFooter
Writes a footer as produced by the embedded layout's Footer property.
Protected methodWriteFooterAndCloseWriter
Writes the footer and closes the underlying OnlineTextWriter.
Protected methodWriteHeader
Writes a header produced by the embedded layout's Header property.
Back to Top
See Also