We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c75d1a4 commit 4ba6da2Copy full SHA for 4ba6da2
src/TraceDebug.php
@@ -89,8 +89,13 @@ public function handle($request, Closure $next)
89
*/
90
protected function parseLog(array $log)
91
{
92
- foreach ($log as $record) {
93
- $this->log[$record->type][] = $record->message;
+ foreach ($log as $key => $record) {
+ if (is_string($key) && is_array($record)) {
94
+ $this->log = array_merge_recursive($this->log, $log);
95
+ break;
96
+ } else {
97
+ $this->log[$record->type][] = $record->message;
98
+ }
99
}
100
101
0 commit comments