DSG: introduce a SyncConnectorStat class for common identification
of syncConnector stats and saving time parsing the identification parameters
from the statistic name.
Add enabling of logging so no overhead is introduced if stats are not collected.
Complete code for logging of per SyncConnector stats.