Yii Logging Library version 2.2.0 was released. In this version:
- Add optional
$levelsparameter toTargetconstructor allowing log level filtering at instantiation - Add
ext-psrtoconflictsection incomposer.json
All targets were updated as well to allow $levels in constructor. Additionally:
- File Target 3.1.0 added
categories,exceptandexportIntervalsetters to default config and replaced rotate by rename to rotate by copy. - Syslog Target 2.1.0 removed dead code that checked case when
syslog()returned false. - DB Target 1.1.0 bumped minimal required PHP version to 8.1.