/// <summary>
        /// Load the NLog config xml file content
        /// </summary>
        public static NLogConfig LoadXML()
        {
            NLogConfig config = new NLogConfig();

            config.doc.Load(NLOG_CONFIG_FILE_NAME);
            config.logLevelElement    = (XmlElement)SelectSingleNode(config.doc, "//nlog:logger[@name='*']");
            config.logFileNameElement = (XmlElement)SelectSingleNode(config.doc, "//nlog:target[@name='file']");
            return(config);
        }
 /// <summary>
 /// Save the content to NLog config xml file
 /// </summary>
 public static void SaveXML(NLogConfig nLogConfig)
 {
     nLogConfig.doc.Save(NLOG_CONFIG_FILE_NAME);
 }