qqq
This commit is contained in:
@@ -233,7 +233,6 @@ class Logger implements LoggerInterface
|
|||||||
*/
|
*/
|
||||||
private function _string($context): string
|
private function _string($context): string
|
||||||
{
|
{
|
||||||
if (empty($context)) return "";
|
|
||||||
if ($context instanceof \Throwable) {
|
if ($context instanceof \Throwable) {
|
||||||
$context = 'file -> ' . $context->getFile() . PHP_EOL . 'line -> ' . $context->getLine() . PHP_EOL;
|
$context = 'file -> ' . $context->getFile() . PHP_EOL . 'line -> ' . $context->getLine() . PHP_EOL;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user