采用全新的数据库架构

This commit is contained in:
yubaolee
2015-10-26 21:58:12 +08:00
parent 366d3a5351
commit 13d44f28b6
91 changed files with 21208 additions and 9430 deletions

View File

@@ -0,0 +1,30 @@
using log4net;
[assembly: log4net.Config.XmlConfigurator(Watch = true)]
namespace Infrastructure
{
public class LogHelper
{
public static readonly ILog _log = LogManager.GetLogger("log4net");
public static void Log(string message)
{
_log.Info(message);
}
public static void Debug(string message)
{
_log.Debug(message);
}
public static void Fatal(string message)
{
_log.Fatal(message);
}
public static void Warn(string message)
{
_log.Warn(message);
}
}
}