Beispiel #1
0
 public void Error(Beetle.Express.IServer server, Beetle.Express.ErrorEventArgs e)
 {
     if (e.Channel != null)
     {
         "{0} channel error".Log4Error(e.Error, e.Channel.EndPoint);
     }
     else
     {
         "ec application error ".Log4Error(e.Error);
     }
     mApplication.OnError(new Events.EventApplicationErrorArgs {
         Application = mApplication, Info = e
     });
 }
Beispiel #2
0
 public void Error(Beetle.Express.IServer server, Beetle.Express.ErrorEventArgs e)
 {
     SaveLogsService.WriteLog(e.Error.Message);
 }