Skip to content
This repository has been archived by the owner on Jan 11, 2022. It is now read-only.

Commit

Permalink
Merge pull request #11 from swisnl/develop
Browse files Browse the repository at this point in the history
remove unnecessary provides-method from service provider
  • Loading branch information
barryvanveen authored Jul 25, 2018
2 parents ad722da + 8944788 commit a74835f
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions src/Graylog2ServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public function boot()
$this->publishes([
__DIR__.'/../config/graylog2.php' => $this->app->configPath().'/graylog2.php',
]);

// Register handler
$monoLog = Log::getMonolog();
$monoLog->pushHandler(new Graylog2Handler(config('graylog2.log_level', 'debug')));
Expand All @@ -29,14 +29,4 @@ public function register()
{
$this->app->singleton('graylog2', Graylog2::class);
}

/**
* Get the services provided by the provider.
*
* @return array
*/
public function provides()
{
return ['graylog2'];
}
}

0 comments on commit a74835f

Please sign in to comment.