LogConfig version 0.0.0.7
This commit is contained in:
@@ -4,7 +4,7 @@ Imports NLog.Config
|
||||
Imports NLog.Targets
|
||||
|
||||
''' <module>LogConfig</module>
|
||||
''' <version>0.0.0.6</version>
|
||||
''' <version>0.0.0.7</version>
|
||||
''' <date>02.10.2018</date>
|
||||
''' <summary>
|
||||
''' Module that writes file-logs to different locations:
|
||||
@@ -230,6 +230,15 @@ Public Class LogConfig
|
||||
Return LogFactory.GetLogger(Of Logger)(oClassName)
|
||||
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>
|
||||
''' Gets the fully qualified name of the class invoking the calling method,
|
||||
''' including the namespace but Not the assembly.
|
||||
|
||||
Reference in New Issue
Block a user