示例#1
0
 public static void Register(string xmlPath)
 {
     log4net.Config.XmlConfigurator.ConfigureAndWatch(new System.IO.FileInfo(xmlPath));
     _instance = new LogUtility();
 }
示例#2
0
 public static void Register()
 {
     log4net.Config.XmlConfigurator.Configure();
     _instance = new LogUtility();
 }