File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -183,6 +183,7 @@ Public Class Pref_Gui
183
183
Next
184
184
Next
185
185
Btn_Apply.Enabled = False
186
+ SetLogControlsStatus()
186
187
IsShowed = True
187
188
LogFile.LogTracing( "Pref Gui Opened." , LogLvl.LOG_DEBUG, Me )
188
189
Catch Except As Exception
Original file line number Diff line number Diff line change @@ -138,6 +138,14 @@ Public Class WinNUT
138
138
StrLog.Insert(AppResxStr.STR_LOG_UPDATE, My.Resources.Log_Str_11)
139
139
StrLog.Insert(AppResxStr.STR_LOG_NUT_FSD, My.Resources.Log_Str_12)
140
140
141
+ 'Init Logger
142
+ If My.Settings.LG_LogToFile Then
143
+ LogFile.LogLevelValue = My.Settings.LG_LogLevel
144
+ LogFile.InitializeLogFile()
145
+ ElseIf LogFile.IsWritingToFile Then
146
+ LogFile.DeleteLogFile()
147
+ End If
148
+
141
149
'Init Systray
142
150
NotifyIcon.Text = ProgramName & " - " & ShortProgramVersion
143
151
NotifyIcon.Visible = False
You can’t perform that action at this time.
0 commit comments