This commit is contained in:
Ho Ngoc Hai
2026-03-05 01:39:40 +07:00
parent df7eec1ec2
commit 629fed8a55
18 changed files with 586 additions and 124 deletions

View File

@@ -6,6 +6,10 @@ using FnbEngine.API.Application.Behaviors;
using FnbEngine.Infrastructure;
using Serilog;
// EN: Enable legacy timestamp behavior for Npgsql (DateTime.Kind compatibility)
// VI: Bật chế độ timestamp cũ cho Npgsql (tương thích DateTime.Kind)
AppContext.SetSwitch("Npgsql.EnableLegacyTimestampBehavior", true);
// EN: Configure Serilog early / VI: Cấu hình Serilog sớm
Log.Logger = new LoggerConfiguration()
.WriteTo.Console()