This commit is contained in:
2023-07-31 23:18:08 +08:00
parent 0fbb08ed58
commit 29f821f026
-1
View File
@@ -233,7 +233,6 @@ class Logger implements LoggerInterface
*/
private function _string($context): string
{
if (empty($context)) return "";
if ($context instanceof \Throwable) {
$context = 'file -> ' . $context->getFile() . PHP_EOL . 'line -> ' . $context->getLine() . PHP_EOL;
}