From 06db1adc5237670282108f3eff0d30caaf7d21e6 Mon Sep 17 00:00:00 2001 From: "ashutosh.nehete" Date: Mon, 8 Sep 2025 11:47:53 +0530 Subject: [PATCH] Added the debug logs in log controller --- Marco.Pms.Services/Controllers/LogController.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Marco.Pms.Services/Controllers/LogController.cs b/Marco.Pms.Services/Controllers/LogController.cs index 4efaf85..c206d0b 100644 --- a/Marco.Pms.Services/Controllers/LogController.cs +++ b/Marco.Pms.Services/Controllers/LogController.cs @@ -101,6 +101,9 @@ namespace Marco.Pms.Services.Controllers // Use a switch expression or simple if/else for clarity based on log level switch (logLevel?.ToLowerInvariant()) // Use ToLowerInvariant for case-insensitive comparison { + case "debug": + _logger.LogDebug(message); + break; case "info": case "information": // Common alias for info _logger.LogInformation(message);