You are here

public function HttpblLogTrapper::trapAlert in http:BL 8

Same name in this branch
  1. 8 src/Logger/HttpblLogTrapper.php \Drupal\httpbl\Logger\HttpblLogTrapper::trapAlert()
  2. 8 src/ProxyClass/Logger/HttpblLogTrapper.php \Drupal\httpbl\ProxyClass\Logger\HttpblLogTrapper::trapAlert()

Traps and forwards ALERT messages, based on config setting.

Parameters

string $message:

array $context:

integer $logVolume,: The minimum setting required to pass on the message.

Return value

null

Overrides HttpblLogTrapperInterface::trapAlert

File

src/ProxyClass/Logger/HttpblLogTrapper.php, line 87

Class

HttpblLogTrapper
Provides a proxy class for \Drupal\httpbl\Logger\HttpblLogTrapper.

Namespace

Drupal\httpbl\ProxyClass\Logger

Code

public function trapAlert($message, array $context = array(), $logVolume = HTTPBL_LOG_QUIET) {
  return $this
    ->lazyLoadItself()
    ->trapAlert($message, $context, $logVolume);
}