Releases: yiisoft/log
Releases · yiisoft/log
Version 2.2.0
Version 2.1.1
Version 2.1.0
- New #104: Add new static methods
Logger::assertLevelIsValid(),Logger::assertLevelIsString()and
Logger::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, deprecate
CategoryFilter::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)