CurrentAppender Property

log4net SDK Reference |

# FileAppender.LockingModelBase.CurrentAppender Property

Gets or sets the FileAppender for this LockingModel

[Visual Basic]
Public Property CurrentAppender As FileAppender
[C#]
public FileAppender CurrentAppender {get; set;}

#### Property Value

The FileAppender for this LockingModel

#### Remarks

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 is called.

#### See Also

FileAppender.LockingModelBase Class | log4net.Appender Namespace