AWSAppender.Core.Appenders.RenderingForwardingAppender.RemoveAllAppenders C# (CSharp) Method

RemoveAllAppenders() public method

Removes all previously added appenders from this appender.

This is useful when re-reading configuration information.

public RemoveAllAppenders ( ) : void
return void
        public virtual void RemoveAllAppenders()
        {
            lock (this)
            {
                if (m_appenderAttachedImpl != null)
                {
                    m_appenderAttachedImpl.RemoveAllAppenders();
                    m_appenderAttachedImpl = null;
                }
            }
        }