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: ' - +