| @@ 179-186 (lines=8) @@ | ||
| 176 | * |
|
| 177 | * @return void |
|
| 178 | */ |
|
| 179 | protected function configureHttpLogger() |
|
| 180 | { |
|
| 181 | $this->laravel->singleton(HttpLogger::class, function () { |
|
| 182 | return (new HttpLogger($this->output)) |
|
| 183 | ->enable($this->option('debug') ?: config('app.debug')) |
|
| 184 | ->verbose($this->output->isVerbose()); |
|
| 185 | }); |
|
| 186 | } |
|
| 187 | ||
| 188 | /** |
|
| 189 | * Configure the logger for messages. |
|
| @@ 193-200 (lines=8) @@ | ||
| 190 | * |
|
| 191 | * @return void |
|
| 192 | */ |
|
| 193 | protected function configureMessageLogger() |
|
| 194 | { |
|
| 195 | $this->laravel->singleton(WebSocketsLogger::class, function () { |
|
| 196 | return (new WebSocketsLogger($this->output)) |
|
| 197 | ->enable($this->option('debug') ?: config('app.debug')) |
|
| 198 | ->verbose($this->output->isVerbose()); |
|
| 199 | }); |
|
| 200 | } |
|
| 201 | ||
| 202 | /** |
|
| 203 | * Configure the connection logger. |
|