add soom log

This commit is contained in:
dongwei 2019-01-11 16:15:11 +08:00
parent 871763db0b
commit d237d10295

View File

@ -9,7 +9,7 @@ use JsonRpc\Client;
class ClientServiceProvider extends ServiceProvider class ClientServiceProvider extends ServiceProvider
{ {
protected $defer = true; // protected $defer = true;
/** /**
* Register any application services. * Register any application services.
@ -19,7 +19,7 @@ class ClientServiceProvider extends ServiceProvider
public function register() public function register()
{ {
$this->app->configure('rpc'); $this->app->configure('rpc');
$this->app->log->info("call client service provider log");
$config = config('rpc.client'); $config = config('rpc.client');
$this->app->singleton('rpc', function () use ($config) { $this->app->singleton('rpc', function () use ($config) {