Example #1
0
 private void LogToCreatedSyncData(ISyncData syncData)
 {
     if (syncData != null)
     {
         _logger.InfoFormat("--------Data Type:{0}, Subject:{1}, SyncId:{2}, SyncType:{3}, IsFromDefault:{4}",
                            syncData.GetType().Name,
                            syncData.Subject,
                            syncData.SyncId,
                            syncData.SyncType,
                            syncData.IsFromDefault);
     }
 }
Example #2
0
 private void LogSyncData(ISyncData syncData)
 {
     if (syncData != null)
     {
         _logger.InfoFormat("--------Data Type:{0}, Id:{1}, Subject:{2}, SyncId:{3}, SyncType:{4}, IsFromDefault:{5}, LastUpdateLocalTime:{6}",
                            syncData.GetType().Name,
                            syncData.Id,
                            syncData.Subject,
                            syncData.SyncId,
                            syncData.SyncType,
                            syncData.IsFromDefault,
                            syncData.LastUpdateLocalTime);
     }
 }