Add debug config flag
This commit is contained in:
parent
451dd0097e
commit
57eb7cbec8
@ -3,4 +3,5 @@
|
||||
Public Class Config
|
||||
<ConnectionString>
|
||||
Public Property ConnectionString As String = String.Empty
|
||||
Public Property Debug As Boolean = False
|
||||
End Class
|
||||
|
||||
@ -73,6 +73,8 @@ Public Class frmMonitor
|
||||
Logger = LogConfig.GetLogger()
|
||||
|
||||
ConfigManager = New ConfigManager(Of Config)(LogConfig, Application.UserAppDataPath, Application.CommonAppDataPath, Application.StartupPath)
|
||||
ConfigManager.Config.Debug = LogConfig.Debug
|
||||
|
||||
Patterns = New Patterns2(LogConfig)
|
||||
FormHelper = New FormHelper(LogConfig, Me)
|
||||
ControlHelper = New Common.ControlHelper(LogConfig)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user