Monolog\Handler\PushoverHandler::__construct
Signature
public function __construct(string
$token,
[string
$user = null,
[string
$title = null,
[integer
$level = Logger::CRITICAL,
[Boolean
$bubble = true,
[Boolean
$useSSL = true]]]]] )
Parameters
$token
—
string
- Pushover api token
$user
—
string
- Pushover user id the message will be sent to
$title
—
string
- Title sent to Pushover API
$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
$useSSL
—
object
- Whether to connect via SSL. Required when pushing messages to users that are not
the pushover.net app owner. OpenSSL is required for this option.