chore: 构建修改编码

This commit is contained in:
陈淳
2024-01-05 09:25:02 +08:00
parent e6ba4f63f7
commit 791ec9132a
2 changed files with 4 additions and 7 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
{