From 20177c2d683cc16f7cf5f80cbf8266b0841b841c Mon Sep 17 00:00:00 2001 From: Developer01 Date: Mon, 29 Dec 2025 13:43:32 +0100 Subject: [PATCH] =?UTF-8?q?*=20=E2=80=9ELinie=2014:=20Removed=20the=20LogC?= =?UTF-8?q?onfig=20parameter=20from=20the=20constructor,=20as=20the=20type?= =?UTF-8?q?=20does=20not=20exist.=20Linie=2016:=20Replaced=20the=20assignm?= =?UTF-8?q?ent=20of=20=5FLogger=20using=20LogConfig=20with=20the=20standar?= =?UTF-8?q?d=20NLog=20pattern=20for=20obtaining=20a=20logger=20instance.?= =?UTF-8?q?=20Linie=203:=20Replaced=20the=20missing=20namespace=20import?= =?UTF-8?q?=20with=20'NLog',=20as=20the=20Logger=20type=20used=20in=20the?= =?UTF-8?q?=20file=20matches=20NLog.Logger,=20which=20is=20available=20as?= =?UTF-8?q?=20a=20NuGet=20package=20in=20the=20project.=20Linie=207:=20Rem?= =?UTF-8?q?oved=20the=20field=20for=20LogConfig,=20as=20the=20type=20does?= =?UTF-8?q?=20not=20exist=20in=20the=20project=20or=20any=20referenced=20p?= =?UTF-8?q?ackage.=E2=80=9C=20in=20Datei=20=E2=80=9EDatabase\Adapters\ODBC?= =?UTF-8?q?.vb=E2=80=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Database/Adapters/ODBC.vb | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/Database/Adapters/ODBC.vb b/Database/Adapters/ODBC.vb index 9e22503f..57104fc2 100644 --- a/Database/Adapters/ODBC.vb +++ b/Database/Adapters/ODBC.vb @@ -1,20 +1,18 @@ Imports System.Data.Odbc Imports System.Data -Imports DigitalData.Modules.Logging +Imports NLog Public Class ODBC Private _Logger As Logger - Private _LogConfig As LogConfig Private _connectionDatasource As String Private _connectionUsername As String Private _connectionPassword As String Private _connectionString As String - Public Sub New(LogConfig As LogConfig, Datasource As String, User As String, Password As String) + Public Sub New(Datasource As String, User As String, Password As String) Try - _LogConfig = LogConfig - _Logger = _LogConfig.GetLogger() + _Logger = LogManager.GetCurrentClassLogger() _connectionDatasource = Datasource _connectionPassword = Password