public function DrupalMailHandler::__construct in Monolog 8
Same name and namespace in other branches
- 2.x src/Logger/Handler/DrupalMailHandler.php \Drupal\monolog\Logger\Handler\DrupalMailHandler::__construct()
DrupalMailHandler constructor.
Parameters
$to:
int $level:
bool $bubble:
File
- src/
Logger/ Handler/ DrupalMailHandler.php, line 22
Class
- DrupalMailHandler
- Class DrupalMailHandler.
Namespace
Drupal\monolog\Logger\HandlerCode
public function __construct($to, $level = Logger::ERROR, $bubble = TRUE) {
parent::__construct($level, $bubble);
$this->to = $to;
}