public function HttpblLogTrapper::__construct in http:BL 8
Same name in this branch
- 8 src/Logger/HttpblLogTrapper.php \Drupal\httpbl\Logger\HttpblLogTrapper::__construct()
- 8 src/ProxyClass/Logger/HttpblLogTrapper.php \Drupal\httpbl\ProxyClass\Logger\HttpblLogTrapper::__construct()
Constructs a HttpblLogtrapper object.
Parameters
\Drupal\Core\Logger\LogMessageParserInterface $parser: The parser to use when extracting message variables.
\Drupal\Core\Logger\LoggerChannelInterface $logger: The logger to add.
File
- src/
Logger/ HttpblLogTrapper.php, line 60
Class
- HttpblLogTrapper
- (An arbitrated logger)
Namespace
Drupal\httpbl\LoggerCode
public function __construct(LogMessageParserInterface $parser, LoggerChannelInterface $logger) {
$this->parser = $parser;
$this->logger = $logger;
}