FileAppenderLockingModelBaseCurrentAppender Property Apache log4net™ SDK Documentation
Gets or sets the FileAppender for this LockingModel

Namespace: log4net.Appender
Assembly: log4net (in log4net.dll) Version: 4.0

public FileAppender CurrentAppender { get; set; }

Property Value

Type: FileAppender
The FileAppender for this LockingModel

The file appender this locking model is attached to and working on behalf of.

The file appender is used to locate the security context and the error handler to use.

The value of this property will be set before OpenFile(String, Boolean, Encoding) is called.

See Also