webchemistry/rollbar

There is no license information available for the latest version (1.1) of this package.

Rollbar integration for Nette framework

1.1 2018-04-05 09:21 UTC

This package is auto-updated.

Last update: 2024-04-08 21:01:03 UTC


README

Instalation

composer require webchemistry/rollbar

Neon:

extensions:
	rollbar: WebChemistry\RollBar\DI\Extension
	
rollbar:
	accessToken: xxx

First use

class BasePresenter extends Presenter {
	
	/** @var WebChemistry\RollBar\RollBar @inject */
	public $rollbar;

	public function startup() {
		parent::startup();
		
		$this->rollbar->sendTest(); // After first use remove
	}
}

Config

rollback:
	accessToken: xxx
	logging: no
	enable: %productionMode%
	config: # For Rollback::init
		included_errno: -1