Logging: Fix filename with module
This commit is contained in:
parent
36b86ed9d1
commit
20375e3134
@ -346,7 +346,7 @@ Public Class LogConfig
|
||||
Public Function GetLogger(ClassName As String, ModuleName As String) As Logger
|
||||
Dim oLogger = LogFactory.GetLogger(Of Logger)(ClassName)
|
||||
|
||||
If ModuleName IsNot Nothing Then
|
||||
If ModuleName IsNot Nothing AndAlso ModuleName.Length > 0 Then
|
||||
Return oLogger.WithProperty("ModuleName", $"-{ModuleName}")
|
||||
End If
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user