LogConfig version 0.0.0.7

This commit is contained in:
Jonathan Jenne 2019-02-26 12:56:06 +01:00
parent 86ade712c9
commit 24c91553dd
2 changed files with 11 additions and 2 deletions

View File

@ -4,7 +4,7 @@ Imports NLog.Config
Imports NLog.Targets Imports NLog.Targets
''' <module>LogConfig</module> ''' <module>LogConfig</module>
''' <version>0.0.0.6</version> ''' <version>0.0.0.7</version>
''' <date>02.10.2018</date> ''' <date>02.10.2018</date>
''' <summary> ''' <summary>
''' Module that writes file-logs to different locations: ''' Module that writes file-logs to different locations:
@ -230,6 +230,15 @@ Public Class LogConfig
Return LogFactory.GetLogger(Of Logger)(oClassName) Return LogFactory.GetLogger(Of Logger)(oClassName)
End Function End Function
''' <summary>
''' Returns the Logger for a class specified by `ClassName`
''' </summary>
''' <param name="ClassName">The name of the class the logger belongs to</param>
''' <returns>An object of Logging.Logger</returns>
Public Function GetLogger(ClassName As String) As Logger
Return LogFactory.GetLogger(Of Logger)(ClassName)
End Function
''' <summary> ''' <summary>
''' Gets the fully qualified name of the class invoking the calling method, ''' Gets the fully qualified name of the class invoking the calling method,
''' including the namespace but Not the assembly. ''' including the namespace but Not the assembly.

View File

@ -31,5 +31,5 @@ Imports System.Runtime.InteropServices
' übernehmen, indem Sie "*" eingeben: ' übernehmen, indem Sie "*" eingeben:
' <Assembly: AssemblyVersion("1.0.*")> ' <Assembly: AssemblyVersion("1.0.*")>
<Assembly: AssemblyVersion("0.0.0.6")> <Assembly: AssemblyVersion("0.0.0.7")>
<Assembly: AssemblyFileVersion("1.0.0.0")> <Assembly: AssemblyFileVersion("1.0.0.0")>