public static MLogger GetLogger(string className) { MLogger objResult = new MLogger() { mstrCurrentClassName = className }; return(objResult); }
public static MLogger GetLogger(Type oneType) { MLogger objResult = new MLogger() { mstrCurrentClassName = oneType.ToString() }; return(objResult); }
public static MLogger GetLogger(Type oneType) { if (!ISLoad) { log4net.Config.XmlConfigurator.Configure(new System.IO.FileInfo(typeof(MLogger).Assembly.Location + ".config")); ISLoad = true; } MLogger objResult = new MLogger() { mstrCurrentClassName = oneType.ToString() }; return objResult; }
public static MLogger GetLogger(string className) { if (!ISLoad) { //MessageBox.Show(typeof(MLogger).Assembly.Location); log4net.Config.XmlConfigurator.Configure(new System.IO.FileInfo(typeof(MLogger).Assembly.Location + ".config")); ISLoad = true; } MLogger objResult = new MLogger() { mstrCurrentClassName = className }; return objResult; }
public static MLogger GetLogger(Type oneType) { if (!ISLoad) { log4net.Config.XmlConfigurator.Configure(new System.IO.FileInfo(typeof(MLogger).Assembly.Location + ".config")); ISLoad = true; } MLogger objResult = new MLogger() { mstrCurrentClassName = oneType.ToString() }; return(objResult); }
public static MLogger GetLogger(string className) { if (!ISLoad) { //MessageBox.Show(typeof(MLogger).Assembly.Location); log4net.Config.XmlConfigurator.Configure(new System.IO.FileInfo(typeof(MLogger).Assembly.Location + ".config")); ISLoad = true; } MLogger objResult = new MLogger() { mstrCurrentClassName = className }; return(objResult); }
public static MLogger GetLogger(Type oneType) { MLogger objResult = new MLogger() { mstrCurrentClassName = oneType.ToString() }; return objResult; }
public static MLogger GetLogger(string className) { MLogger objResult = new MLogger() { mstrCurrentClassName = className }; return objResult; }