/[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 71 by william, Thu Jul 12 21:04:56 2012 UTC revision 96 by william, Sat Jul 14 03:01:07 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          private static void Initialize() { XmlConfigurator.Configure(new FileInfo("AnywhereTS.Logging.dll.config")); }          public 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");
22          #endregion          #endregion
23    
24          #region log4net help          #region log4net help

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

  ViewVC Help
Powered by ViewVC 1.1.22