refactor: Entfernen des App Loggers und Implementierung des ILogger-Interfaces; Konfiguration der API für NLog

- App Logger entfernt und durch die Implementierung des `ILogger`-Interfaces ersetzt, um eine konsistente Logging-Architektur zu gewährleisten.
- API für die Nutzung von NLog konfiguriert, um eine leistungsstarke und flexible Logging-Lösung bereitzustellen.
- Konfigurationsdateien und Setup-Anpassungen für die Integration von NLog in die API vorgenommen.
This commit is contained in:
Developer 02
2024-08-27 19:41:12 +02:00
parent cfd163a7a7
commit 197db1e08b
79 changed files with 247 additions and 724 deletions

View File

@@ -1,5 +1,4 @@
using HRD.AppLogger;
using HRD.LDAPService;
using HRD.LDAPService;
using HRD.LDAPService.JWT;
using HRD.WebApi;
using Microsoft.Extensions.Configuration;
@@ -23,8 +22,6 @@ namespace XUnitWebApi.SharedConfig
WebApiConfig.AssemblyVersion = "xxx.xx";
//WebApiConfig.Connectionstring = Config_ConnectionString;
//WebApiConfig.NlogConnectionstring = Config_ConnectionString;
WebApiConfig.NlogDBLogLevel = EN_LoggingLevel.Error;
WebApiConfig.NlogFileLogLevel = EN_LoggingLevel.Off;
WebApiConfig.RaiseRepositoryExceptions = false;
//JWT#1