Parent Directory
|
Revision Log
|
Patch
--- trunk/RomCheater/Docking/FloatingPIDSelector.cs 2014/04/15 14:30:48 811 +++ trunk/RomCheater/Docking/FloatingPIDSelector.cs 2014/04/15 14:52:10 812 @@ -28,6 +28,7 @@ using System.Management; using System.Reflection; using RomCheater.Core; +using Enterprise.Logging; namespace RomCheater.Docking { @@ -133,7 +134,7 @@ txtstatus_Pid.Text = SelectedProcess.Id.ToString(); txtstatus_Filename.Text = SelectedProcess.MainModule.FileName; - logger.Debug.WriteLine("Using Process: ({0} : {1})", SelectedProcess.Id, SelectedProcess.ProcessName); + gLog.Debug.WriteLine("Using Process: ({0} : {1})", SelectedProcess.Id, SelectedProcess.ProcessName); //this.Close(); if (OnSelectedProcessChanged != null) OnSelectedProcessChanged(new ProcessChangedEventArgs(this, this.ProcessPID)); @@ -302,7 +303,7 @@ DialogResult result = EXESelector.ShowDialog(); if (result != DialogResult.OK) return; FileInfo fi = new FileInfo(EXESelector.FileName); - if (!fi.Exists) { logger.Warn.WriteLine("Cannot load and attach to non-existing exe file: {0}", fi.FullName); return; } + if (!fi.Exists) { gLog.Warn.WriteLine("Cannot load and attach to non-existing exe file: {0}", fi.FullName); return; } Process p = Process.Start(fi.FullName); this.ProcessPID = p.Id; isAttachingToProcess = true; @@ -349,7 +350,7 @@ if (lstProcessList.SelectedItems[0] != null) { int missing_pid = this.ProcessPID; - logger.Warn.WriteLine("Connection to selected process ({0}) has been lost...Selecting the first available process.", missing_pid); + gLog.Warn.WriteLine("Connection to selected process ({0}) has been lost...Selecting the first available process.", missing_pid); MessageBox.Show(string.Format("Connection to selected process ({0}) has been lost...Selecting the first available process.", missing_pid), "Connection to selected process lost", MessageBoxButtons.OK, MessageBoxIcon.Warning); } isAutoRefreshing = false;
ViewVC Help | |
Powered by ViewVC 1.1.22 |