日志处理 助手 Log4net测试-Log4net使用封装类
http://zhq.ahau.edu.cn/blog/article.asp?id=366
 /// <summary>
 /// Fatal Log
 /// </summary>
 /// <param name="msg"></param>
 public void Fatal(string msg)
 {
     LogHelper.Write(msg, LogHelper.LogMessageType.Fatal);
 }
 /// <summary>
 /// Info Log
 /// </summary>
 /// <param name="msg"></param>
 public void Info(string msg)
 {
     LogHelper.Write(msg, LogHelper.LogMessageType.Info);
 }
 public void Debug(string msg)
 {
     LogHelper.Write(msg, LogHelper.LogMessageType.Debug);
 }
 /// <summary>
 /// Error Log
 /// </summary>
 /// <param name="msg"></param>
 public void Error(string msg)
 {
     LogHelper.Write(msg, LogHelper.LogMessageType.Error);
 }
 static LogManager()
 {
     //初始化 Log4Net
     LogHelper.Init();
 }