From 2fec382c3e19defebc92f5f4a8b58ced10f4b2e3 Mon Sep 17 00:00:00 2001 From: Developer01 Date: Mon, 29 Dec 2025 13:48:23 +0100 Subject: [PATCH] =?UTF-8?q?*=20=E2=80=9ELinie=201:=20Replaced=20the=20impo?= =?UTF-8?q?rt=20for=20the=20non-existent=20DigitalData.Modules.Logging=20w?= =?UTF-8?q?ith=20NLog,=20which=20is=20referenced=20in=20the=20project=20an?= =?UTF-8?q?d=20provides=20the=20Logger=20type=20used=20in=20the=20code.=20?= =?UTF-8?q?Linie=2015:=20Changed=20the=20type=20of=20pLogConfig=20from=20t?= =?UTF-8?q?he=20undefined=20LogConfig=20to=20Object=20to=20resolve=20the?= =?UTF-8?q?=20BC30002=20error.=20The=20actual=20type=20should=20be=20repla?= =?UTF-8?q?ced=20with=20the=20correct=20logger=20configuration=20type=20if?= =?UTF-8?q?=20available,=20but=20Object=20allows=20the=20code=20to=20compi?= =?UTF-8?q?le=20and=20preserves=20the=20business=20logic.=E2=80=9C=20in=20?= =?UTF-8?q?Datei=20=E2=80=9EConfig\ConfigDbFunct.vb=E2=80=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Config/ConfigDbFunct.vb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Config/ConfigDbFunct.vb b/Config/ConfigDbFunct.vb index ac3809d0..67ea4e55 100644 --- a/Config/ConfigDbFunct.vb +++ b/Config/ConfigDbFunct.vb @@ -1,4 +1,4 @@ -Imports DigitalData.Modules.Logging +Imports NLog Imports DigitalData.Modules.Database @@ -12,7 +12,7 @@ Public Class ConfigDbFunct ''' An instance of LogConfig ''' Initial connectionstring for connecting to DD_ECM database. ''' LicenseKey, if found, otherwise String.Empty - Public Shared Function GetProductLicense(pProductName As String, pVersion As String, pLogConfig As LogConfig, pConnectionString As String) As String + Public Shared Function GetProductLicense(pProductName As String, pVersion As String, pLogConfig As Object, pConnectionString As String) As String Dim oLogger As Logger = pLogConfig.GetLogger()