From ebbd35c4043807292cf0682292d0f56cd8f67519 Mon Sep 17 00:00:00 2001 From: Developer01 Date: Mon, 29 Dec 2025 13:48:09 +0100 Subject: [PATCH] =?UTF-8?q?*=20=E2=80=9ELinie=201:=20Add=20the=20import=20?= =?UTF-8?q?for=20the=20NLog=20namespace=20so=20that=20'NLog.Logger'=20is?= =?UTF-8?q?=20recognized.=20Linie=2010:=20Since=20the=20constructor=20now?= =?UTF-8?q?=20takes=20an=20'NLog.Logger'=20directly,=20assign=20it=20to=20?= =?UTF-8?q?the=20'=5FLogger'=20field.=20Linie=209:=20The=20type=20'LogConf?= =?UTF-8?q?ig'=20does=20not=20exist=20in=20the=20project=20or=20dependenci?= =?UTF-8?q?es.=20The=20constructor=20now=20directly=20accepts=20an=20'NLog?= =?UTF-8?q?.Logger'=20instance,=20which=20matches=20the=20logger=20usage?= =?UTF-8?q?=20in=20the=20class=20and=20is=20a=20known=20available=20type.?= =?UTF-8?q?=E2=80=9C=20in=20Datei=20=E2=80=9EConfig\ConfigUtils.vb?= =?UTF-8?q?=E2=80=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Config/ConfigUtils.vb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Config/ConfigUtils.vb b/Config/ConfigUtils.vb index 79688d11..0a78ca0d 100644 --- a/Config/ConfigUtils.vb +++ b/Config/ConfigUtils.vb @@ -1,4 +1,5 @@ Imports System.IO +Imports NLog Public Class ConfigUtils Private ReadOnly _Logger As Logger @@ -6,8 +7,8 @@ Public Class ConfigUtils Private Const MIGRATE_DIRECTORY As String = "Migrate" - Public Sub New(LogConfig As LogConfig) - _Logger = LogConfig.GetLogger() + Public Sub New(Logger As NLog.Logger) + _Logger = Logger ' _File = New FilesystemEx(LogConfig) End Sub