- no changes in this release.
- Chg #130, #133: Changed
Message::parse()to conform to PSR-3 (@technicated, @vjik) - Enh #132: Add benchmarks, improve performance of
Message::parse()(@samdark) - Enh #135: Add validation for
$traceLevelinSystemContextProviderto ensure values are greater than or equal to zero (@rekmixa) - Enh #137: Explicitly import classes, functions, and constants in "use" section (@mspirkov)
- Enh #138: Moved the final log flush from
register_shutdown_function()to theLogger::__destruct()method (@olegbaturin) - Bug #130: Updated
Message::parse()to correctly support multiple placeholders (@technicated)
- New #125: Add optional
$levelsparameter toTargetconstructor allowing log level filtering at instantiation (@samdark) - Chg #126: Add
ext-psrtoconflictsection incomposer.json(@samdark)
- Enh #123, #124: Minor refactor internal class
ContextValueExtractor(@Tigrov, @vjik) - Bug #123: Explicitly marking parameters as nullable (@Tigrov)
- New #104: Add new static methods
Logger::assertLevelIsValid(),Logger::assertLevelIsString()andLogger::assertLevelIsSupported()(@vjik) - New #108: Support of nested values in message templates' variables, e.g.
{foo.bar}(@vjik) - New #109, #113, #116: Add context providers (@vjik)
- New #111: Add
DateTimeandDateTimeImmutablesupport as time in log context (@vjik) - New #112: Add
Message::category()method andMessage::DEFAULT_CATEGORYconstant, deprecateCategoryFilter::DEFAULTin favor it (@vjik) - New #113: Add
Message::trace()method (@vjik) - New #114: Add
Message::time()method (@vjik) - Chg #104: Deprecate method
Logger::validateLevel()(@vjik) - Chg #109: Deprecate
LoggermethodssetTraceLevel()andsetExcludedTracePaths()in favor of context provider usage (@vjik) - Chg #116: Deprecate methods
setCommonContext()andgetCommonContext()inTargetclass (@vjik) - Chg #118: Replace
gettype()toget_debug_type()in exception messages generation (@vjik) - Bug #84: Change the type of the
$levelparameter in theMessageconstructor tostring(@dood-) - Bug #89: Fix error on parse messages, that contains variables that cannot cast to a string (@vjik)
- Bug #98: Fix error on formatting trace, when it doesn't contain "file" and "line" (@vjik)
- Chg #68: Raise the minimum
psr/logversion to^2.0|^3.0and the minimum PHP version to 8.0 (@xepozz, @rustamwin)
- Bug #76: Fix time formatter when locale uses comma as a decimal point separator (@terabytesoftw)
- Chg #74: Replace usage of
yiisoft/yii-webtoyiisoft/yii-httpin event config (@devanych)
- Bug #67: Flush logger on the console is terminated (@rustamwin)
- Chg: Adjust config for new config plugin (@samdark)
Initial release.