Skip to content

Commit 4fc0135

Browse files
committed
updated bug
1 parent f211907 commit 4fc0135

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/MonologHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ protected function write(LogRecord $record): void
2828
$record->channel,
2929
$record->level,
3030
$record->message,
31-
(array_merge($record->toArray(), [ 'context' => $this->addContext($record->context) ])),
31+
array_merge($record->toArray()['context'], $this->addContext($record->context)),
3232
$record->extra,
3333
$record->formatted));
3434
}

0 commit comments

Comments
 (0)