Пример #1
0
 public void Info(dynamic message, Exception e)
 {
     var log = new LogInfo { UserId = UserId, TaskGroup = TaskGroup, Message = message };
     foreach (var service in Services)
     {
         service.Info(log, e);
     }
 }
Пример #2
0
 public void Error(dynamic message)
 {
     var log = new LogInfo { UserId = UserId, TaskGroup = TaskGroup, Message = message };
     foreach (var service in Services)
     {
         service.Error(log);
     }
 }