Showing
2 changed files
with
9 additions
and
7 deletions
| ... | ... | @@ -38,7 +38,8 @@ TR_eventHandlerHandleEvent(TR_EventHandler this, TR_Event event) |
| 38 | 38 | TR_sdbm((unsigned char *)&event->id, sizeof(event->id))); |
| 39 | 39 | |
| 40 | 40 | TR_loggerLog(TR_logger, TR_LOGGER_DEBUG, |
| 41 | - "HANDLE: %s event on %p with no. %d", | |
| 41 | + "%zd - HANDLE: %s event on %p with no. %d", | |
| 42 | + this->dispatcher[0]->events->nmsg, | |
| 42 | 43 | TR_getEventString(event), |
| 43 | 44 | event->subject, |
| 44 | 45 | event->serial); | ... | ... |
| ... | ... | @@ -33,14 +33,15 @@ TR_eventHandlerIssueEvent(TR_EventHandler this, TR_Event event) |
| 33 | 33 | if (event) { |
| 34 | 34 | int i; |
| 35 | 35 | |
| 36 | - TR_loggerLog(TR_logger, TR_LOGGER_DEBUG, | |
| 37 | - "ISSUE: %s event on %p with no. %d", | |
| 38 | - TR_getEventString(event), | |
| 39 | - event->subject, | |
| 40 | - event->serial); | |
| 41 | - | |
| 42 | 36 | for (i=0; i<this->ndispatcher; i++) { |
| 43 | 37 | TR_eventDispatcherEnqueueEvent(this->dispatcher[i], event); |
| 38 | + | |
| 39 | + TR_loggerLog(TR_logger, TR_LOGGER_DEBUG, | |
| 40 | + "%zd - ISSUE: %s event on %p with no. %d", | |
| 41 | + this->dispatcher[i]->events->nmsg, | |
| 42 | + TR_getEventString(event), | |
| 43 | + event->subject, | |
| 44 | + event->serial); | |
| 44 | 45 | } |
| 45 | 46 | } |
| 46 | 47 | } | ... | ... |
Please
register
or
login
to post a comment