File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
CommonLibrary/AccountSupport Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ public void UpdatePassword(string name, string password)
4747 if ( name == all_list_accounts [ i ] . UserName )
4848 {
4949 all_list_accounts [ i ] . Password = password ;
50- LogHelper ? . LogSave ( Resource . StringResouce . AccountModifyPassword + name ) ;
50+ LogHelper ? . SaveInformation ( Resource . StringResouce . AccountModifyPassword + name ) ;
5151 break ;
5252 }
5353 }
@@ -145,7 +145,7 @@ public bool AddNewAccount(T account)
145145 }
146146 }
147147 all_list_accounts . Add ( account ) ;
148- LogHelper ? . LogSave ( Resource . StringResouce . AccountAddSuccess + account . UserName ) ;
148+ LogHelper ? . SaveInformation ( Resource . StringResouce . AccountAddSuccess + account . UserName ) ;
149149 }
150150 return true ;
151151 }
@@ -163,7 +163,7 @@ public void DeleteAccount(string name)
163163 if ( name == all_list_accounts [ i ] . UserName )
164164 {
165165 all_list_accounts . RemoveAt ( i ) ;
166- LogHelper ? . LogSave ( Resource . StringResouce . AccountDeleteSuccess + name ) ;
166+ LogHelper ? . SaveInformation ( Resource . StringResouce . AccountDeleteSuccess + name ) ;
167167 break ;
168168 }
169169 }
@@ -211,7 +211,7 @@ public void LoadAllAccountsJson(string json)
211211 }
212212 catch ( Exception ex )
213213 {
214- LogHelper ? . LogSave ( Resource . StringResouce . AccountLoadFailed , ex ) ;
214+ LogHelper ? . SaveError ( Resource . StringResouce . AccountLoadFailed , ex ) ;
215215 }
216216 }
217217 }
You can’t perform that action at this time.
0 commit comments