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

Comparing:
trunk/RomCheater/AppConsts.cs (file contents), Revision 21 by william, Wed May 9 08:42:07 2012 UTC vs.
trunk/RomCheater.Logging/LoggingConstants.cs (file contents), Revision 23 by william, Wed May 9 08:51:38 2012 UTC

# Line 7 | Line 7 | using RomCheater.Logging;
7  
8   namespace RomCheater
9   {
10 <    public static class AppConsts
10 >    public static class LoggingConstants
11      {
12          #region Application Constants
13          public const string AppName = "Rom Cheater";
14 <        public const string AppLogFile = RomCheater.Logging.LogWriter.LOG_FILE;
14 >        public const string AppLogFile = "RomCheater.log";
15          public static string AppVersion = Assembly.GetEntryAssembly().GetName().Version.ToString();
16   #if DEBUG
17          public const string AppBuild = "Debug";
# Line 19 | Line 19 | namespace RomCheater
19          public const string AppBuild = "Release";
20   #endif
21          #endregion
22
23        #region Logging Constants
24        public static void LogApplicationStatup()
25        {
26            logger.WriteLine("{0} created on {1}", AppLogFile, DateTime.Now.ToString());
27            logger.WriteLine("{0} version: {1} {2} build", AppName, AppVersion, AppBuild);
28        }
29        #endregion
22      }
23   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines