| @@ 191-198 (lines=8) @@ | ||
| 188 | * |
|
| 189 | * @return void |
|
| 190 | */ |
|
| 191 | protected function configureHttpLogger() |
|
| 192 | { |
|
| 193 | $this->laravel->singleton(HttpLogger::class, function () { |
|
| 194 | return (new HttpLogger($this->output)) |
|
| 195 | ->enable($this->option('debug') ?: config('app.debug')) |
|
| 196 | ->verbose($this->output->isVerbose()); |
|
| 197 | }); |
|
| 198 | } |
|
| 199 | ||
| 200 | /** |
|
| 201 | * Configure the logger for messages. |
|
| @@ 205-212 (lines=8) @@ | ||
| 202 | * |
|
| 203 | * @return void |
|
| 204 | */ |
|
| 205 | protected function configureMessageLogger() |
|
| 206 | { |
|
| 207 | $this->laravel->singleton(WebSocketsLogger::class, function () { |
|
| 208 | return (new WebSocketsLogger($this->output)) |
|
| 209 | ->enable($this->option('debug') ?: config('app.debug')) |
|
| 210 | ->verbose($this->output->isVerbose()); |
|
| 211 | }); |
|
| 212 | } |
|
| 213 | ||
| 214 | /** |
|
| 215 | * Configure the connection logger. |
|