Directory_Refactor #128

Merged
ashutosh.nehete merged 22 commits from Directory_Refactor into Document_Manager 2025-09-09 11:03:46 +00:00
Showing only changes of commit 06db1adc52 - Show all commits

View File

@ -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);