commit
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user