IAppender InterfaceApache log4net™ SDK Documentation
Implement this interface for your own strategies for printing log statements.

Namespace: log4net.Appender
Assembly: log4net (in log4net.dll) Version: 2.0.6.0-.NET 4.0
Syntax

public interface IAppender

The IAppender type exposes the following members.

Properties

  NameDescription
Public propertyName
Gets or sets the name of this appender.
Top
Methods

  NameDescription
Public methodClose
Closes the appender and releases resources.
Public methodDoAppend
Log the logging event in Appender specific way.
Top
Remarks

Implementors should consider extending the AppenderSkeleton class which provides a default implementation of this interface.

Appenders can also implement the IOptionHandler interface. Therefore they would require that the [M:IOptionHandler.ActivateOptions()] method be called after the appenders properties have been configured.

See Also

Reference