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