private static function __logActivity($config, $type, $key, $success, $startTime) {
		$queryTime = round((microtime(true) - $startTime) * 1000, 2);
		self::$_logs[$config][] = array(
			'type' => $type,
			'key' => $key,
			'success' => $success,
			'time' => $queryTime
		);

		self::$_queriesTime += $queryTime;

		if (count(self::$_logs[$config]) > self::$_maxLogs) {
			array_shift(self::$_logs[$config]);
		}
	}
private static function __logActivity($config, $type, $key, $success, $startTime) {
		$queryTime = round((microtime(true) - $startTime) * 1000, 2);
		self::$_logs[$config][] = array(
			'type' => $type,
			'key' => $key,
			'success' => $success,
			'time' => $queryTime
		);

		self::$_queriesTime += $queryTime;

		if (count(self::$_logs[$config]) > self::$_maxLogs) {
			array_shift(self::$_logs[$config]);
		}
	}
private static function __logActivity ( $ config , $ type , $ key , $ success , $ startTime ) { $ queryTime = round ( ( microtime ( true ) - $ startTime ) * 1000 , 2 ) ; self :: $ _logs [ $ config ] [ ] = array ( 'type' => $ type , 'key' => $ key , 'success' => $ success , 'time' => $ queryTime ) ; self :: $ _queriesTime += $ queryTime ; if ( count ( self :: $ _logs [ $ config ] ) > self :: $ _maxLogs ) { array_shift ( self :: $ _logs [ $ config ] ) ; } }
Log a cache activity

@param string $config
@param string $type cache activity type
@param string $key
@param bool $success If the cache action was a hit or not
@param int $startTime timestamp
Log a cache activity