mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2025-12-06 17:33:27 +08:00
【修复】修复接口启动文件【Program】记录日志类型错误的问题。
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user