Monolog\Handler\SwiftMailerHandler::__construct
Signature
public function __construct(Swift_Mailer
$mailer,
[Swift_Message
$message = Logger::ERROR,
[integer
$level = Logger::ERROR,
[Boolean
$bubble = true]]] )
Parameters
$mailer
— \Swift_Mailer- The mailer to use
$message
— object- An example message for real messages, only the body will be replaced
$level
— integer- The minimum logging level at which this handler will be triggered
$bubble
— object- Whether the messages that are handled can bubble up the stack or not