【修复】修复接口启动文件【Program】记录日志类型错误的问题。

This commit is contained in:
大灰灰
2022-10-14 00:33:50 +08:00
parent 5351657cad
commit 6cf4029eab

View File

@@ -28,7 +28,7 @@ namespace CoreCms.Net.Web.WebApi
//确保NLog.config中连接字符串与appsettings.json中同步
NLogUtil.EnsureNlogConfig("NLog.config");
//其他项目启动时需要做的事情
NLogUtil.WriteAll(LogLevel.Trace, LogType.Web, "接口启动", "接口启动成功");
NLogUtil.WriteAll(LogLevel.Trace, LogType.ApiRequest, "接口启动", "接口启动成功");
host.Run();
}