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