Is called when the appender is closed. Derived classes should override this method if resources need to be released.
Assembly: log4net (in log4net.dll) Version: 18.104.22.168-.NET 4.0
protected virtual void OnClose()
Protected Overridable Sub OnClose
protected: virtual void OnClose()
abstract OnClose : unit -> unit override OnClose : unit -> unit
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.