C#把日志文件单独保存到目录文件夹下
System.IO.File.WriteAllText(HttpContext.Current.Server.MapPath("~") + @"ApiNlogEX.txt", ex.ToString());
微信号:jamesworkshop 学习QQ群:364976091
System.IO.File.WriteAllText(HttpContext.Current.Server.MapPath("~") + @"ApiNlogEX.txt", ex.ToString());