/[RomCheater]/trunk/RomCheater.Logging/LogWriter.cs
ViewVC logotype

Diff of /trunk/RomCheater.Logging/LogWriter.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

--- trunk/RomCheater.Logging/LogWriter.cs	2012/05/09 09:28:57	26
+++ trunk/RomCheater.Logging/LogWriter.cs	2012/05/09 15:19:18	61
@@ -14,7 +14,7 @@
 {
     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);

 

  ViewVC Help
Powered by ViewVC 1.1.22