This commit is contained in:
crazywhalecc 2025-08-02 21:44:27 +08:00
parent 81ab0b98f6
commit 2551b3e1db
No known key found for this signature in database
GPG Key ID: 1F4BDD59391F2680

View File

@ -171,6 +171,7 @@ class ConsoleLogger extends AbstractLogger
$t['line'] = 0;
}
$log .= "#{$i} {$t['file']}({$t['line']}): ";
/** @phpstan-ignore-next-line */
if (isset($t['object']) && is_object($t['object'])) {
$log .= get_class($t['object']) . '->';
}