qqq
This commit is contained in:
@@ -242,13 +242,12 @@ class Logger implements LoggerInterface
|
|||||||
return 'file -> ' . $context->getFile() . PHP_EOL . 'line -> ' . $context->getLine() . PHP_EOL;
|
return 'file -> ' . $context->getFile() . PHP_EOL . 'line -> ' . $context->getLine() . PHP_EOL;
|
||||||
}
|
}
|
||||||
if (!is_array($context)) {
|
if (!is_array($context)) {
|
||||||
return "unknown";
|
return "unknown" . PHP_EOL;
|
||||||
}
|
}
|
||||||
|
|
||||||
$data = [];
|
$data = [];
|
||||||
foreach ($context as $value) {
|
foreach ($context as $value) {
|
||||||
$data[] = $this->_string($value);
|
$data[] = $this->_string($value);
|
||||||
}
|
}
|
||||||
return implode(PHP_EOL, $data);
|
return implode($data);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user