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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user