set default product name if not supplied

This commit is contained in:
Jonathan Jenne 2020-04-07 10:44:33 +02:00
parent b38e3acb6d
commit a394c5e557

View File

@ -219,8 +219,14 @@ Public Class LogConfig
logFileSuffix = $"-{Suffix}"
End If
Dim oProductName As String = "Main"
If ProductName IsNot Nothing Then
oProductName = ProductName
End If
' Create config object and initalize it
config = GetConfig(ProductName, logFileSuffix)
config = GetConfig(oProductName, logFileSuffix)
' Save config
LogFactory = New LogFactory With {