* Add KPI object loaded counter

This commit is contained in:
Eric Espie
2021-12-31 12:12:32 +01:00
parent 374b71c017
commit 06008ed8eb
2 changed files with 25 additions and 3 deletions

View File

@@ -58,8 +58,8 @@ class EventService
});
self::$aEvents[$sEvent] = $aEventCallbacks;
if (IssueLog::CanLog(IssueLog::LEVEL_DEBUG, LOG_EVENT_SERVICE_CHANNEL))
{
// if (IssueLog::CanLog(IssueLog::LEVEL_DEBUG, LOG_EVENT_SERVICE_CHANNEL))
// {
$iTotalRegistrations = 0;
foreach (self::$aEvents as $aEvent)
{
@@ -67,7 +67,7 @@ class EventService
}
$sEventName = "$sEvent:".self::GetSourcesAsString($sEventSource);
IssueLog::Trace("Registering event '$sEventName' for '$sName' with id '$sId' (total $iTotalRegistrations)", LOG_EVENT_SERVICE_CHANNEL);
}
// }
return $sId;
}