Remove log service provider since it is part of Bootstrap process.
This commit is contained in:
@@ -4,6 +4,15 @@ use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvi
|
||||
|
||||
class EventServiceProvider extends ServiceProvider {
|
||||
|
||||
/**
|
||||
* The classes to scan for event annotations.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $scan = [
|
||||
//
|
||||
];
|
||||
|
||||
/**
|
||||
* The event handler mappings for the application.
|
||||
*
|
||||
@@ -15,13 +24,4 @@ class EventServiceProvider extends ServiceProvider {
|
||||
],
|
||||
];
|
||||
|
||||
/**
|
||||
* The classes to scan for event annotations.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $scan = [
|
||||
//
|
||||
];
|
||||
|
||||
}
|
||||
|
||||
@@ -1,29 +0,0 @@
|
||||
<?php namespace App\Providers;
|
||||
|
||||
use Illuminate\Contracts\Logging\Log;
|
||||
use Illuminate\Support\ServiceProvider;
|
||||
|
||||
class LogServiceProvider extends ServiceProvider {
|
||||
|
||||
/**
|
||||
* Configure the application's logging facilities.
|
||||
*
|
||||
* @param Log $log
|
||||
* @return void
|
||||
*/
|
||||
public function boot(Log $log)
|
||||
{
|
||||
$log->useFiles(storage_path().'/laravel.log');
|
||||
}
|
||||
|
||||
/**
|
||||
* Register the service provider.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function register()
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user