You are here

public function BaseInterface::watchdog in DRD Agent 4.0.x

Same name and namespace in other branches
  1. 8.3 src/Agent/Action/BaseInterface.php \Drupal\drd_agent\Agent\Action\BaseInterface::watchdog()

Logging if in debug mode.

Parameters

string $message: Message of the watchdog report.

array $variables: Parameters for the watchdog report.

int $severity: Severity of the watchdog report.

string $link: Optional link associated with the watchdog report.

Return value

$this

1 method overrides BaseInterface::watchdog()
Base::watchdog in src/Agent/Action/Base.php
Logging if in debug mode.

File

src/Agent/Action/BaseInterface.php, line 95

Class

BaseInterface
Defines an interface for Remote DRD Action Code.

Namespace

Drupal\drd_agent\Agent\Action

Code

public function watchdog($message, array $variables = array(), $severity = 5, $link = NULL) : self;