Apprenda.Log4NetConnectorPolicy.Log4NetConfigurationUpdateService.UpdateConfigurationDocument C# (CSharp) Метод

UpdateConfigurationDocument() приватный Метод

Update main worker.
private UpdateConfigurationDocument ( ) : void
Результат void
        private void UpdateConfigurationDocument()
        {
            if (_messages.Any())
            {
                _messages.Add("Skipping UpdateConfigurationDocument due to previous messages.");
                return;
            }

            var loggingElement = _configurationDocument.XPathSelectElement("//log4net");
            if (loggingElement == null)
            {
                loggingElement = new XElement("log4net");
                _configurationDocument.Add(loggingElement);
            }

            LogElementWorker.UpdateLoggingElement(loggingElement);
        }