public void LogTest2() { // Dev.Log.Loger.Error("this is the error"); Setting.AttachLog(new ObserverLogToLog4net()); Dev.Log.Loger.Error("aaaaaaa"); }
public void MyTestMethod() { Setting.AttachLog(new Dev.Log.Impl.ObserverLogToLog4net()); Dev.Log.Loger.Error("aaaaaaaaa"); }
public void Register() { Setting.SetLogSeverity(LogSeverity.Debug); Setting.AttachLog(new Dev.Log.Impl.ObserverLogToLog4net()); }