public function __construct(HttpInputInterface $input) { parent::__construct($input); $this->hostname = 'ssl://' . ClientInterface::LOGGLY_HOST; $this->port = ClientInterface::LOGGLY_PORT; $this->buffer = array(); // __destructor() doesn't get called on Fatal errors register_shutdown_function(array($this, 'postBatch')); }
public function __construct(HttpInputInterface $input) { parent::__construct($input); $this->hostname = 'ssl://' . ClientInterface::LOGGLY_HOST; $this->port = ClientInterface::LOGGLY_PORT; }