log
log copied to clipboard
getTrace() thows Undefined array key "file"
https://github.com/yiisoft/log/blob/e0551896a54a91dd3c15d415167d0402c7bf9aaf/src/Message/Formatter.php#L243
Stack frame can arrives without file and line keys.
[
'function' => 'signin'
'class' => 'App\\Controller\\Api\\V1\\Auth\\AuthController'
'type' => '->'
]
What steps will reproduce the problem?
call debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS, 3) from controller
Additional info
| Q | A |
|---|---|
| Version | dev-master |
| PHP version | 8.1 |
| Operating system | win server 2019 |