log
log copied to clipboard
PSR-3 compatible logger
Fix docs
1) Allow to set own callable for convert value to string (https://github.com/yiisoft/log/blob/master/src/Message/Formatter.php#L257) 2) Add template (and allow user to change it) for context (https://github.com/yiisoft/log/blob/e0551896a54a91dd3c15d415167d0402c7bf9aaf/src/Message/Formatter.php#L196C22-L196C32). It should be possible to change...
https://github.com/yiisoft/log/blob/e0551896a54a91dd3c15d415167d0402c7bf9aaf/src/Message/Formatter.php#L243 Stack frame can arrives without `file` and `line` keys. ```php [ 'function' => 'signin' 'class' => 'App\\Controller\\Api\\V1\\Auth\\AuthController' 'type' => '->' ] ``` ### What steps will reproduce the problem?...
See https://peakd.com/hive-168588/@crell/using-psr-3-placeholders-properly
##Warning: Array to string conversion in vendor\yiisoft\log\src\Message.php on line 116 `$context[$placeholderName]` Need handler for different types. I use logger for doctrine. ### Additional info | Q | A | ----------------...
Updates the requirements on [vimeo/psalm](https://github.com/vimeo/psalm) to permit the latest version. Release notes Sourced from vimeo/psalm's releases. 5.6.0 What's Changed Features Check $this in static closures by @weirdan in vimeo/psalm#9164 Fixes...
- `Logger::validateLevel()` - `Logger::setTraceLevel()` - `Logger::setExcludedTracePaths()` - `SystemContextProvider::setTraceLevel()` - `SystemContextProvider::setExcludedTracePaths()` - `Target::getCommonContext()` - `Target::setCommonContext()` - `CategoryFilter::DEFAULT`
Fix multiple placeholders replacement in `Message::parse()`. This PR fixes an issue where multiple placeholders were not replaced inside `Message::parse()`. The approach suggested in the linked issue (making the regex lazy...