Пример #1
0
 internal void ReportBatch( LogMessage[] batch )
 {
   Object[] args = new Object[] { Backendless.AppId, Backendless.VersionNum, batch };
   AsyncCallback<Object> callback = new AsyncCallback<Object>(
    result =>
    {
     
    },
    fault =>
    {
     
    } );
   Invoker.InvokeAsync<Object>( LOGGING_SERVICE_ALIAS, "batchLog", args, callback );
 }
Пример #2
0
 private void Flush()
 {
   LogMessage[] messages = new LogMessage[ logBatch.Count ];
   logBatch.CopyTo( messages, 0 );
   logBatch.Clear();
   Backendless.Logging.ReportBatch( messages );
 }