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

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

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

trunk/RomCheater/AppConsts.cs revision 20 by william, Wed May 9 08:41:36 2012 UTC trunk/RomCheater.Logging/LoggingConstants.cs revision 23 by william, Wed May 9 08:51:38 2012 UTC
# Line 7  using RomCheater.Logging; Line 7  using RomCheater.Logging;
7    
8  namespace RomCheater  namespace RomCheater
9  {  {
10      public static class AppConsts      public static class LoggingConstants
11      {      {
12          #region Application Constants          #region Application Constants
13          public const string AppName = "Rom Cheater";          public const string AppName = "Rom Cheater";
14          public const string AppLogFile = RomCheater.Logging.LogWriter.LOG_FILE;          public const string AppLogFile = "RomCheater.log";
15          public static string AppVersion = Assembly.GetEntryAssembly().GetName().Version.ToString();          public static string AppVersion = Assembly.GetEntryAssembly().GetName().Version.ToString();
16  #if DEBUG  #if DEBUG
17          public const string AppBuild = "Debug";          public const string AppBuild = "Debug";
# Line 19  namespace RomCheater Line 19  namespace RomCheater
19          public const string AppBuild = "Release";          public const string AppBuild = "Release";
20  #endif  #endif
21          #endregion          #endregion
   
         #region Logging Constants  
         public static void LogApplicationStatup()  
         {;  
             logger.WriteLine("{0} created on {1}", AppLogFile, DateTime.Now.ToString());  
             logger.WriteLine("{0} version: {1} {2} build", AppName, AppVersion, AppBuild);  
         }  
         #endregion  
22      }      }
23  }  }

Legend:
Removed from v.20  
changed lines
  Added in v.23

  ViewVC Help
Powered by ViewVC 1.1.22