mirror of
https://github.com/nextcloud/server.git
synced 2026-04-22 23:03:00 -04:00
fix(log): Fix call to normalize function
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
44b4b4072b
commit
2ec7fa88cc
1 changed files with 1 additions and 1 deletions
|
|
@ -158,7 +158,7 @@ class Log implements ILogger, IDataLogger {
|
|||
return; // no crash reporter, no listeners, we can stop for lower log level
|
||||
}
|
||||
|
||||
array_walk($context, [$this->normalizer, 'format']);
|
||||
$context = array_map($this->normalizer->format(...), $context);
|
||||
|
||||
$app = $context['app'] ?? 'no app in context';
|
||||
$entry = $this->interpolateMessage($context, $message);
|
||||
|
|
|
|||
Loading…
Reference in a new issue