@@ -228,8 +228,7 @@ discard block |
||
| 228 | 228 | { |
| 229 | 229 | $this->handleEvent($level, $message, $context); |
| 230 | 230 | }); |
| 231 | - } |
|
| 232 | - else |
|
| 231 | + } else |
|
| 233 | 232 | { |
| 234 | 233 | // starting from L5.4 MessageLogged event class was introduced |
| 235 | 234 | // https://github.com/laravel/framework/commit/57c82d095c356a0fe0f9381536afec768cdcc072 |
@@ -256,8 +255,7 @@ discard block |
||
| 256 | 255 | if ($message instanceof Exceptions\HandlerException) |
| 257 | 256 | { |
| 258 | 257 | return; |
| 259 | - } |
|
| 260 | - else if ($message instanceof \Exception) |
|
| 258 | + } else if ($message instanceof \Exception) |
|
| 261 | 259 | { |
| 262 | 260 | $log = $this->app['understand.exception-encoder']->exceptionToArray($message); |
| 263 | 261 | $log['tags'] = ['exception_log']; |
@@ -267,8 +265,7 @@ discard block |
||
| 267 | 265 | { |
| 268 | 266 | $log['message'] = $message; |
| 269 | 267 | $log['tags'] = ['laravel_log']; |
| 270 | - } |
|
| 271 | - else |
|
| 268 | + } else |
|
| 272 | 269 | { |
| 273 | 270 | $log = (array)$message; |
| 274 | 271 | $log['tags'] = ['laravel_log']; |