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