Add new Temp option to Logging
This commit is contained in:
parent
1d62d18ced
commit
ec779f7697
@ -102,6 +102,7 @@ Public Class LogConfig
|
||||
AppData = 0
|
||||
CurrentDirectory = 1
|
||||
CustomPath = 2
|
||||
Temp = 3
|
||||
End Enum
|
||||
|
||||
''' <summary>
|
||||
@ -182,6 +183,8 @@ Public Class LogConfig
|
||||
If LogPath = PathType.AppData Then
|
||||
Dim appDataDir = Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData)
|
||||
basePath = Path.Combine(appDataDir, CompanyName, ProductName, FOLDER_NAME_LOG)
|
||||
ElseIf LogPath = PathType.Temp Then
|
||||
basePath = failSafePath
|
||||
Else 'Custom Path
|
||||
basePath = CustomLogPath
|
||||
End If
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user