Apprenda.Log4NetConnectorPolicy.Log4NetAppConfigUpdateService.AddLog4NetElement C# (CSharp) Method

AddLog4NetElement() private method

The add default logging element.
private AddLog4NetElement ( ) : System.Xml.Linq.XElement
return 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;
        }