提交 1179b4e8 编写于 作者: A apolloerp

log

上级 866256c4
......@@ -16,14 +16,14 @@ namespace Ae.Shop.Api
var logger = ApolloErpNLogBuilder.ConfigureNLog();
try
{
logger.Info("init shop api");
//logger.Info("init shop.api");
//logger.Debug("init main");
CreateWebHostBuilder(args).Build().Run();
}
catch (Exception ex)
{
//NLog: catch setup errors
logger.Error(ex, "Stopped program because of exception");
logger.Error(ex, "Stopped shop.api because of exception");
throw;
}
finally
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册