yl
2023-02-20 ce7c60fcec403e4e978e69db1a50aa58cdafcbda
VueWebApi/Tools/LogHelper.cs
@@ -1,4 +1,5 @@
using System;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
@@ -46,5 +47,14 @@
            log.Error(message);
        }
        #endregion
        #region
        public static void WriteLogData2(string aa)
        {
            var request = HttpContext.Current.Request;
            log4net.ILog log = log4net.LogManager.GetLogger("日志记录");
            log.Error(JsonConvert.SerializeObject(aa));
        }
        #endregion
    }
}