From 22953b65eddc20c33ccf18fa71a34f7bf9c5eb11 Mon Sep 17 00:00:00 2001 From: Bobo Date: Sun, 20 Jun 2021 00:15:48 +0800 Subject: [PATCH] fix nlog case --- CoreCms.Net.Web.Admin/Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CoreCms.Net.Web.Admin/Program.cs b/CoreCms.Net.Web.Admin/Program.cs index 0761820..818d960 100644 --- a/CoreCms.Net.Web.Admin/Program.cs +++ b/CoreCms.Net.Web.Admin/Program.cs @@ -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, "网站启动", "网站启动成功");