private static void PrintStats(Stopwatch t) { log.InfoFormat( "{7:00000} Client({8}): {9} operations, {0} fast events in {1:0.00}ms avg, {2} middle events in {3:0.00}ms avg, {4} slow events in {5:0.00}ms avg, {6:0.00}ms max - {10} exceptions", Client.EventsReceivedFast, Client.EventsReceivedTimeTotalFast / (double)Client.EventsReceivedFast, Client.EventsReceivedMiddle, Client.EventsReceivedTimeTotalMiddle / (double)Client.EventsReceivedMiddle, Client.EventsReceivedSlow, Client.EventsReceivedTimeTotalSlow / (double)Client.EventsReceivedSlow, Client.EventsReceivedTimeMax, t.ElapsedMilliseconds, clientCount, Client.OperationsSent, Client.Exceptions); Client.ResetStats(); }