You are here

public function DrupalMailHandler::__construct in Monolog 2.x

Same name and namespace in other branches
  1. 8 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 23

Class

DrupalMailHandler
Class DrupalMailHandler.

Namespace

Drupal\monolog\Logger\Handler

Code

public function __construct($to, $level = Logger::ERROR, $bubble = TRUE) {
  parent::__construct($level, $bubble);
  $this->to = $to;
}