Apprenda.Log4NetConnectorPolicy.Log4NetAppConfigUpdateService.AddLog4NetElement C# (CSharp) Метод

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

The add default logging element.
private AddLog4NetElement ( ) : System.Xml.Linq.XElement
Результат System.Xml.Linq.XElement
        private XElement AddLog4NetElement()
        {
            if (_messages.Any())
            {
                _messages.Add("Skipping adding Apprenda configuration log4net section due to previous messages.");
                return null;
            }

            var loggingElement = new XElement("log4net");

            _configurationNode.Add(loggingElement);

            return loggingElement;
        }