From b1ccdb760b9c16200831a2617caf9318b1be86b3 Mon Sep 17 00:00:00 2001
From: hwh <332078369@qq.com>
Date: 星期四, 27 六月 2024 08:11:09 +0800
Subject: [PATCH] 重构用户管理

---
 Wms/Utility/Extension/ServiceCollectionExtensions.cs |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/Wms/Utility/Extension/ServiceCollectionExtensions.cs b/Wms/Utility/Extension/ServiceCollectionExtensions.cs
index c15adad..2669a82 100644
--- a/Wms/Utility/Extension/ServiceCollectionExtensions.cs
+++ b/Wms/Utility/Extension/ServiceCollectionExtensions.cs
@@ -46,13 +46,13 @@
                     outputTemplate: template,
                     restrictedToMinimumLevel: LogEventLevel.Information))
                 // Debug鏃ュ織鍐欏叆鍒版枃浠�
-                //.WriteTo.Async(c => c.File(
-                //    path: "Logs/Debug.txt",
-                //    rollingInterval: RollingInterval.Day,
-                //    fileSizeLimitBytes: 1024 * 1024 * 10,
-                //    retainedFileCountLimit: 100,
-                //    outputTemplate: template,
-                //    restrictedToMinimumLevel: LogEventLevel.Debug))
+                .WriteTo.Async(c => c.File(
+                    path: "Logs/Verbose.txt",
+                    rollingInterval: RollingInterval.Day,
+                    fileSizeLimitBytes: 1024 * 1024 * 10,
+                    retainedFileCountLimit: 100,
+                    outputTemplate: template,
+                    restrictedToMinimumLevel: LogEventLevel.Verbose))
                 // Warning鏃ュ織鍐欏叆鍒版枃浠�
                 .WriteTo.Async(c => c.File(
                     path: "Logs/Warning_.txt",

--
Gitblit v1.8.0