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

Comparing trunk/AnywhereTS.Logging/Logging.cs (file contents):
Revision 164 by william, Sun Jul 15 11:41:39 2012 UTC vs.
Revision 165 by william, Mon Jul 16 10:19:21 2012 UTC

# Line 33 | Line 33 | namespace AnywhereTS
33  
34          public static readonly ILog ATSAdminInstallerLog = LogManager.GetLogger("AnywhereTS.ATSAmdin.Installer");
35          public static readonly ILog TSControlPanelInstallerLog = LogManager.GetLogger("AnywhereTS.TSControlPanel.Installer");
36        #endregion
36  
37 +        public static readonly ILog WizardLog = LogManager.GetLogger("AnywhereTS.Wizard");
38 +        public static readonly ILog DefaultLog = LogManager.GetLogger("AnywhereTS.DefaultLogger");
39 +
40 +        #endregion
41  
42 +        public static void UpdateLogPath()
43 +        {
44 +            string path = typeof(Logging).Assembly.Location.ToLower().Replace(@"\AnywhereTS.Logging.dll".ToLower(), "");
45 +            Logging.UpdateLogPath(path);
46 +        }
47          public static void UpdateLogPath(string path) { Logging.SetLogPath(path); }
48  
49          private static void SetLogPath(string path)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines