Пример #1
0
 public void LogEvent(LoggingEvent Event)
 {
     try
     {
         LogEvent logEvent = new Utils.LogEvent();
         logEvent.Event            = Event;
         logEvent.DataMartClientId = DataMartClientId;
     }
     catch {}
 }
Пример #2
0
 public void LogEvent(LoggingEvent Event)
 {
     try
     {
         LogEvent logEvent = new Utils.LogEvent();
         logEvent.Event            = Event;
         logEvent.DataMartClientId = DataMartClientId;
         //DMCRestAPI restAPI = new DMCRestAPI("accountSID", "SecretKey");
         //DMCRestAPIResponse response = restAPI.PostLogEvent(logEvent);
         //string result = response.Result;
     }
     catch (Exception e)
     {
     }
 }