public function Raven::flush in Raven: Sentry Integration 3.x
Same name and namespace in other branches
- 8.2 src/Logger/Raven.php \Drupal\raven\Logger\Raven::flush()
Sends all unsent events.
Call this method periodically if you have a long-running script or are processing a large set of data which may generate errors.
File
- src/
Logger/ Raven.php, line 360
Class
- Raven
- Logs events to Sentry.
Namespace
Drupal\raven\LoggerCode
public function flush() {
if ($client = $this
->getClient()) {
$client
->flush();
}
}