src/Laravel/LoggingServiceProvider.php
public function registerRollbar()
    {
        if (in_array(App::environment(), ['production', 'staging'])) {

            $this->extendConfig();

            $this->app->register(\Rollbar\Laravel\RollbarServiceProvider::class);
        }        
    }
public function registerRollbar()
    {
        if (in_array(App::environment(), ['production', 'staging'])) {

            $this->extendConfig();

            $this->app->register(\Rollbar\Laravel\RollbarServiceProvider::class);
        }        
    }
public function registerRollbar ( ) { if ( in_array ( App :: environment ( ) , [ 'production' , 'staging' ] ) ) { $ this -> extendConfig ( ) ; $ this -> app -> register ( \ Rollbar \ Laravel \ RollbarServiceProvider :: class ) ; } }
Register rollbar logger

@return \Illuminate\Log\Writer
Register rollbar logger