BugsnagLoggingServiceProvider.php
/**
     * Register the application services.
     *
     * @return void
     */
Register the application services.
@return void
Register the application services . @return void
public function register()
    {
	    app()->singleton(
		    'Illuminate\Contracts\Debug\ExceptionHandler',
		    'Statamic\Addons\BugsnagLogging\BugsnagLogger'
	    );
    }
public function register ( ) { app ( ) -> singleton ( 'Illuminate\Contracts\Debug\ExceptionHandler' , 'Statamic\Addons\BugsnagLogging\BugsnagLogger' ) ; }
Register the application services.
Register the application services .