log4net SDK Reference

BufferingForwardingAppender.OnClose Method 

Closes the appender and releases resources.

[Visual Basic]
Overrides Protected Sub OnClose()
[C#]
protected override void OnClose();

Remarks

Releases any resources allocated within the appender such as file handles, network connections, etc.

It is a programming error to append to a closed appender.

See Also

BufferingForwardingAppender Class | log4net.Appender Namespace