fix nlog case

pull/26/head
Bobo 4 years ago
parent 81eae45dfb
commit 22953b65ed

@ -25,7 +25,7 @@ namespace CoreCms.Net.Web.Admin
try
{
//确保NLog.config中连接字符串与appsettings.json中同步
NLogUtil.EnsureNlogConfig("nLog.config");
NLogUtil.EnsureNlogConfig("NLog.config");
//throw new Exception("测试异常");//for test
//其他项目启动时需要做的事情
NLogUtil.WriteAll(NLog.LogLevel.Trace, LogType.Web, "网站启动", "网站启动成功");

Loading…
Cancel
Save