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