Skip to content

Commit be1af13

Browse files
Merge pull request #55990 from nextcloud/bump/lognormalizer
build: Bump log normalizer to 2.0.0
2 parents f8d1d7f + 2ec7fa8 commit be1af13

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/private/Log.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ public function log(int $level, string $message, array $context = []): void {
158158
return; // no crash reporter, no listeners, we can stop for lower log level
159159
}
160160

161-
array_walk($context, [$this->normalizer, 'format']);
161+
$context = array_map($this->normalizer->format(...), $context);
162162

163163
$app = $context['app'] ?? 'no app in context';
164164
$entry = $this->interpolateMessage($context, $message);

0 commit comments

Comments
 (0)