/[AnywhereTS-MSSQL]/trunk/AnywhereTS.Logging/Logging.cs
ViewVC logotype

Diff of /trunk/AnywhereTS.Logging/Logging.cs

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

revision 150 by william, Sun Jul 15 11:41:39 2012 UTC revision 165 by william, Mon Jul 16 10:19:21 2012 UTC
# Line 33  namespace AnywhereTS Line 33  namespace AnywhereTS
33    
34          public static readonly ILog ATSAdminInstallerLog = LogManager.GetLogger("AnywhereTS.ATSAmdin.Installer");          public static readonly ILog ATSAdminInstallerLog = LogManager.GetLogger("AnywhereTS.ATSAmdin.Installer");
35          public static readonly ILog TSControlPanelInstallerLog = LogManager.GetLogger("AnywhereTS.TSControlPanel.Installer");          public static readonly ILog TSControlPanelInstallerLog = LogManager.GetLogger("AnywhereTS.TSControlPanel.Installer");
         #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); }          public static void UpdateLogPath(string path) { Logging.SetLogPath(path); }
48    
49          private static void SetLogPath(string path)          private static void SetLogPath(string path)

Legend:
Removed from v.150  
changed lines
  Added in v.165

  ViewVC Help
Powered by ViewVC 1.1.22