| @@ 83-92 (lines=10) @@ | ||
| 80 | return $this; |
|
| 81 | } |
|
| 82 | ||
| 83 | protected function configureMessageLogger() |
|
| 84 | { |
|
| 85 | app()->singleton(WebsocketsLogger::class, function () { |
|
| 86 | return (new WebsocketsLogger($this->output)) |
|
| 87 | ->enable($this->option('debug') ?: config('app.debug')) |
|
| 88 | ->verbose($this->output->isVerbose()); |
|
| 89 | }); |
|
| 90 | ||
| 91 | return $this; |
|
| 92 | } |
|
| 93 | ||
| 94 | protected function configureConnectionLogger() |
|
| 95 | { |
|
| @@ 94-103 (lines=10) @@ | ||
| 91 | return $this; |
|
| 92 | } |
|
| 93 | ||
| 94 | protected function configureConnectionLogger() |
|
| 95 | { |
|
| 96 | app()->bind(ConnectionLogger::class, function () { |
|
| 97 | return (new ConnectionLogger($this->output)) |
|
| 98 | ->enable(config('app.debug')) |
|
| 99 | ->verbose($this->output->isVerbose()); |
|
| 100 | }); |
|
| 101 | ||
| 102 | return $this; |
|
| 103 | } |
|
| 104 | ||
| 105 | protected function registerEchoRoutes() |
|
| 106 | { |
|