/[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 96 by william, Sat Jul 14 03:01:07 2012 UTC revision 147 by william, Sun Jul 15 08:43:40 2012 UTC
# Line 13  namespace AnywhereTS Line 13  namespace AnywhereTS
13      public static class Logging      public static class Logging
14      {      {
15          static Logging() { Logging.Initialize(); }          static Logging() { Logging.Initialize(); }
16          public static void Initialize() { XmlConfigurator.Configure(new FileInfo("AnywhereTS.Logging.dll.config")); }          private static void Initialize() { XmlConfigurator.Configure(new FileInfo("AnywhereTS.Logging.dll.config")); }
17    
18          #region Log access          #region Log access
19          public static readonly ILog ATSAdminLog = LogManager.GetLogger("AnywhereTS.ATSAmdin");          public static readonly ILog ATSAdminLog = LogManager.GetLogger("AnywhereTS.ATSAmdin");
20          public static readonly ILog TSControlPanelLog = LogManager.GetLogger("AnywhereTS.TSControlPanel");          public static readonly ILog TSControlPanelLog = LogManager.GetLogger("AnywhereTS.TSControlPanel");
21          public static readonly ILog DatabaseLog = LogManager.GetLogger("AnywhereTS.DBSupport");          public static readonly ILog DatabaseLog = LogManager.GetLogger("AnywhereTS.DBSupport");
22    
23            public static readonly ILog ATSAdminInstallerLog = LogManager.GetLogger("AnywhereTS.ATSAmdin.Installer");
24            public static readonly ILog TSControlPanelInstallerLog = LogManager.GetLogger("AnywhereTS.TSControlPanel.Installer");
25          #endregion          #endregion
26    
27          #region log4net help          #region log4net help

Legend:
Removed from v.96  
changed lines
  Added in v.147

  ViewVC Help
Powered by ViewVC 1.1.22