ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/RomCheater/trunk/RomCheater.Logging/LogWriter.cs
(Generate patch)

Comparing trunk/RomCheater.Logging/LogWriter.cs (file contents):
Revision 60 by william, Wed May 9 09:28:57 2012 UTC vs.
Revision 61 by william, Wed May 9 15:19:18 2012 UTC

--- trunk/RomCheater.Logging/LogWriter.cs	2012/05/09 15:15:19	60
+++ trunk/RomCheater.Logging/LogWriter.cs	2012/05/09 15:19:18	61
@@ -14,7 +14,7 @@ namespace RomCheater.Logging
 {
     public partial class LogWriter : UserControl
     {
-        private static string LOG_PATH = string.Format(@"{0}\{1}", Application.StartupPath, LoggingConstants.AppLogFile);
+        private static string LOG_PATH { get { return string.Format(@"{0}\{1}", typeof(LogWriter).Assembly.Location.Replace("RomCheater.Logging.dll", ""), LoggingConstants.AppLogFile); } }
 
         private delegate string OnGetLogText();
         private delegate void OnSetLogText(string value);