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