1 |
using System; |
2 |
using System.Collections.Generic; |
3 |
using System.Linq; |
4 |
using System.Text; |
5 |
using System.Reflection; |
6 |
using RomCheater.UserSettingsSupport; |
7 |
using RomCheater.Logging.Properties; |
8 |
using System.Windows.Forms; |
9 |
|
10 |
namespace RomCheater.Logging |
11 |
{ |
12 |
public static class LoggingConstants |
13 |
{ |
14 |
//private static SettingSubscriber SettingsSubscriber; |
15 |
static LoggingConstants() |
16 |
{ |
17 |
//SettingsSubscriber = new SettingSubscriber(); |
18 |
//SettingsSubscriber.AddSubscriber(Settings.Default); |
19 |
//Logging.Properties.Settings.Default; |
20 |
} |
21 |
#region Application Constants |
22 |
public const string AppName = "RomCheater"; |
23 |
public static string AppLogFile = string.Format("{0}.log", AppName); |
24 |
public static string AppFullLogPath = string.Format(@"{0}\{1}", Application.StartupPath, AppLogFile); |
25 |
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 |
} |