make verbose work
This commit is contained in:
parent
90518976f5
commit
726760d448
|
|
@ -33,8 +33,6 @@ class ConfigClientProvider implements ClientProvider
|
||||||
return $this->instanciate($clientAttributes);
|
return $this->instanciate($clientAttributes);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
protected function allClients(): Collection
|
protected function allClients(): Collection
|
||||||
{
|
{
|
||||||
return collect(config('websockets.clients'));
|
return collect(config('websockets.clients'));
|
||||||
|
|
|
||||||
|
|
@ -30,8 +30,7 @@ class StartWebSocketServer extends Command
|
||||||
app()->singleton(MessageLogger::class, function() {
|
app()->singleton(MessageLogger::class, function() {
|
||||||
return (new MessageLogger($this->output))
|
return (new MessageLogger($this->output))
|
||||||
->enable(config('app.debug'))
|
->enable(config('app.debug'))
|
||||||
//TODO: use real option
|
->verbose($this->output->isVerbose());
|
||||||
->verbose($this->hasOption('vvv'));
|
|
||||||
});
|
});
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
|
|
@ -42,8 +41,7 @@ class StartWebSocketServer extends Command
|
||||||
app()->bind(ConnectionLogger::class, function() {
|
app()->bind(ConnectionLogger::class, function() {
|
||||||
return (new ConnectionLogger($this->output))
|
return (new ConnectionLogger($this->output))
|
||||||
->enable(config('app.debug'))
|
->enable(config('app.debug'))
|
||||||
//TODO: use real option
|
->verbose($this->output->isVerbose());
|
||||||
->verbose($this->hasOption('vvv'));
|
|
||||||
});
|
});
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue