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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 819 - (hide annotations) (download)
Tue Apr 15 18:07:36 2014 UTC (7 years, 6 months ago) by william
File size: 1148 byte(s)

1 william 20 using System;
2     using System.Collections.Generic;
3     using System.Linq;
4     using System.Text;
5     using System.Reflection;
6 william 34 using RomCheater.UserSettingsSupport;
7     using RomCheater.Logging.Properties;
8 william 814 using System.Windows.Forms;
9 william 20
10 william 34 namespace RomCheater.Logging
11 william 20 {
12 william 23 public static class LoggingConstants
13 william 20 {
14 william 722 //private static SettingSubscriber SettingsSubscriber;
15 william 34 static LoggingConstants()
16     {
17 william 722 //SettingsSubscriber = new SettingSubscriber();
18     //SettingsSubscriber.AddSubscriber(Settings.Default);
19     //Logging.Properties.Settings.Default;
20 william 34 }
21 william 20 #region Application Constants
22 william 24 public const string AppName = "RomCheater";
23     public static string AppLogFile = string.Format("{0}.log", AppName);
24 william 819 public static string AppFullLogPath = string.Format(@"{0}\{1}", Application.StartupPath, AppLogFile);
25 william 20 public static string AppVersion = Assembly.GetEntryAssembly().GetName().Version.ToString();
26     #if DEBUG
27     public const string AppBuild = "Debug";
28     #else
29     public const string AppBuild = "Release";
30     #endif
31     #endregion
32     }
33     }

  ViewVC Help
Powered by ViewVC 1.1.22