Closed gabrielbuzziv closed 7 years ago
The answer to that is in the README ...
If you only want to enable Rollbar reporting for certain environments you can conditionally load the service provider in your AppServiceProvider:
if ($this->app->environment('production')) {
$this->app->register(\Jenssegers\Rollbar\RollbarServiceProvider::class);
}```
Ops, sorry didn't see
How can i enable the Rollbar only for production mod, i don't want to be spammed in my emaisl while my ap is locally.