| 188 | } |
| 189 | |
| 190 | void SyncLogger::WriteTargetChanges(FILE* const pLogFile, int frameDigits) |
| 191 | { |
| 192 | fprintf(pLogFile, "Target changes:\n"); |
| 193 | |
| 194 | for (size_t i = 0; i < SyncLogger::TargetChanges.Size(); i++) |
| 195 | { |
| 196 | auto const& targetChange = SyncLogger::TargetChanges.Get(); |
| 197 | |
| 198 | if (!targetChange.Initialized) |
| 199 | continue; |
| 200 | |
| 201 | fprintf(pLogFile, "#%05d: RTTI: %02d | ID: %08d | TargetRTTI: %02d | TargetID: %08d | Caller: %08x | Frame: %*d\n", |
| 202 | i, targetChange.Type, targetChange.ID, targetChange.TargetType, targetChange.TargetID, targetChange.Caller, frameDigits, targetChange.Frame); |
| 203 | } |
| 204 | |
| 205 | fprintf(pLogFile, "\n"); |
| 206 | } |
| 207 | |
| 208 | void SyncLogger::WriteDestinationChanges(FILE* const pLogFile, int frameDigits) |
| 209 | { |