From 24c91553dd5c0846ceac5dadc38aa15fc0a2cc06 Mon Sep 17 00:00:00 2001 From: Jonathan Jenne Date: Tue, 26 Feb 2019 12:56:06 +0100 Subject: [PATCH] LogConfig version 0.0.0.7 --- Modules.Logging/LogConfig.vb | 11 ++++++++++- Modules.Logging/My Project/AssemblyInfo.vb | 2 +- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/Modules.Logging/LogConfig.vb b/Modules.Logging/LogConfig.vb index 7c8ed6c8..2fb378e0 100644 --- a/Modules.Logging/LogConfig.vb +++ b/Modules.Logging/LogConfig.vb @@ -4,7 +4,7 @@ Imports NLog.Config Imports NLog.Targets ''' LogConfig -''' 0.0.0.6 +''' 0.0.0.7 ''' 02.10.2018 ''' ''' Module that writes file-logs to different locations: @@ -230,6 +230,15 @@ Public Class LogConfig Return LogFactory.GetLogger(Of Logger)(oClassName) End Function + ''' + ''' Returns the Logger for a class specified by `ClassName` + ''' + ''' The name of the class the logger belongs to + ''' An object of Logging.Logger + Public Function GetLogger(ClassName As String) As Logger + Return LogFactory.GetLogger(Of Logger)(ClassName) + End Function + ''' ''' Gets the fully qualified name of the class invoking the calling method, ''' including the namespace but Not the assembly. diff --git a/Modules.Logging/My Project/AssemblyInfo.vb b/Modules.Logging/My Project/AssemblyInfo.vb index f90d3a43..7df792a5 100644 --- a/Modules.Logging/My Project/AssemblyInfo.vb +++ b/Modules.Logging/My Project/AssemblyInfo.vb @@ -31,5 +31,5 @@ Imports System.Runtime.InteropServices ' übernehmen, indem Sie "*" eingeben: ' - +