@@ 122-131 (lines=10) @@ | ||
119 | * |
|
120 | * @return $this |
|
121 | */ |
|
122 | protected function configureHttpLogger() |
|
123 | { |
|
124 | $this->laravel->singleton(HttpLogger::class, function () { |
|
125 | return (new HttpLogger($this->output)) |
|
126 | ->enable($this->option('debug') ?: config('app.debug')) |
|
127 | ->verbose($this->output->isVerbose()); |
|
128 | }); |
|
129 | ||
130 | return $this; |
|
131 | } |
|
132 | ||
133 | /** |
|
134 | * Configure the logger for messages. |
|
@@ 138-147 (lines=10) @@ | ||
135 | * |
|
136 | * @return $this |
|
137 | */ |
|
138 | protected function configureMessageLogger() |
|
139 | { |
|
140 | $this->laravel->singleton(WebsocketsLogger::class, function () { |
|
141 | return (new WebsocketsLogger($this->output)) |
|
142 | ->enable($this->option('debug') ?: config('app.debug')) |
|
143 | ->verbose($this->output->isVerbose()); |
|
144 | }); |
|
145 | ||
146 | return $this; |
|
147 | } |
|
148 | ||
149 | /** |
|
150 | * Configure the connection logger. |
|
@@ 154-163 (lines=10) @@ | ||
151 | * |
|
152 | * @return $this |
|
153 | */ |
|
154 | protected function configureConnectionLogger() |
|
155 | { |
|
156 | $this->laravel->bind(ConnectionLogger::class, function () { |
|
157 | return (new ConnectionLogger($this->output)) |
|
158 | ->enable(config('app.debug')) |
|
159 | ->verbose($this->output->isVerbose()); |
|
160 | }); |
|
161 | ||
162 | return $this; |
|
163 | } |
|
164 | ||
165 | /** |
|
166 | * Configure the Redis PubSub handler. |