You are here

public function SensorDatabaseAggregator::resultVerbose in Monitoring 7

Provide additional info about sensor call.

Parameters

SensorResultInterface $result: Sensor result.

Return value

string Sensor call verbose info.

Overrides SensorExtendedInfoInterface::resultVerbose

1 call to SensorDatabaseAggregator::resultVerbose()
SensorImageMissingStyle::resultVerbose in lib/Drupal/monitoring/Sensor/Sensors/SensorImageMissingStyle.php
Provide additional info about sensor call.
1 method overrides SensorDatabaseAggregator::resultVerbose()
SensorImageMissingStyle::resultVerbose in lib/Drupal/monitoring/Sensor/Sensors/SensorImageMissingStyle.php
Provide additional info about sensor call.

File

lib/Drupal/monitoring/Sensor/Sensors/SensorDatabaseAggregator.php, line 104
Contains \Drupal\monitoring\Sensor\Sensors\SensorDatabaseAggregator.

Class

SensorDatabaseAggregator
Base for database aggregator sensors.

Namespace

Drupal\monitoring\Sensor\Sensors

Code

public function resultVerbose(SensorResultInterface $result) {
  return "Query:\n{$this->getQueryResult()->getQueryString()}\n\nArguments:\n" . var_export($this
    ->getQueryArguments(), TRUE);
}