You are here

public function RavenCommands::setRavenLogger in Raven: Sentry Integration 3.x

Same name and namespace in other branches
  1. 8.2 src/Commands/RavenCommands.php \Drupal\raven\Commands\RavenCommands::setRavenLogger()

Injects Raven logger service.

File

src/Commands/RavenCommands.php, line 24

Class

RavenCommands
Provides Drush commands for Raven module.

Namespace

Drupal\raven\Commands

Code

public function setRavenLogger(Raven $raven_logger) {
  $this->ravenLogger = $raven_logger;
}