Merge branch 'abp' of https://gitee.com/ccnetcore/Yi into abp

This commit is contained in:
橙子
2024-01-05 23:05:21 +08:00
8 changed files with 59 additions and 40 deletions

View File

@@ -2,7 +2,7 @@ using Serilog;
using Serilog.Events;
using Yi.Abp.Web;
//创建日志,可使用{SourceContext}记录
//创建日志,可使用{SourceContext}记录
Log.Logger = new LoggerConfiguration()
.MinimumLevel.Debug()
.MinimumLevel.Override("Microsoft", LogEventLevel.Information)
@@ -15,7 +15,7 @@ Log.Logger = new LoggerConfiguration()
try
{
Log.Information("Yi框架-Abp.vNext启动");
Log.Information("Yi框架-Abp.vNext启动");
var builder = WebApplication.CreateBuilder(args);
builder.WebHost.UseUrls(builder.Configuration["App:SelfUrl"]);
@@ -28,7 +28,7 @@ try
}
catch (Exception ex)
{
Log.Fatal(ex, "Yi框架-Abp.vNext爆炸");
Log.Fatal(ex, "Yi框架-Abp.vNext爆炸");
}
finally
{