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.
protected override void OnClose() { // Remove all the attached appenders lock (this) { if (m_appenderAttachedImpl != null) { m_appenderAttachedImpl.RemoveAllAppenders(); } } }