ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/AnywhereTS-MSSQL/trunk/AnywhereTS.Logging/Logging.cs
Revision: 48
Committed: Thu Jul 12 14:32:21 2012 UTC (11 years, 4 months ago) by william
File size: 633 byte(s)
Log Message:
+ add logging support for TSControlPanel

File Contents

# Content
1 using System;
2 using System.Collections.Generic;
3 using System.Text;
4 using log4net.Config;
5 using log4net;
6 using System.IO;
7
8 namespace AnywhereTS
9 {
10 public static class Logging
11 {
12 static Logging() { Logging.Initialize(); }
13 private static void Initialize() { XmlConfigurator.Configure(new FileInfo("AnywhereTS.Logging.dll.config")); }
14
15 #region Log access
16 public static readonly ILog ATSAdminLog = LogManager.GetLogger("AnywhereTS.ATSAmdin");
17 public static readonly ILog TSControlPanelLog = LogManager.GetLogger("AnywhereTS.TSControlPanel");
18 #endregion
19 }
20 }