Tags: maxbanton/cwh
Tags
v3.0.0 — PHP 8.1 + Monolog 3 modernization (#132) * Bump PHP min to 8.1 and Monolog to 3.0 * Modernize CloudWatch handler for PHP 8.1 and Monolog 3 - write() now takes Monolog\LogRecord (was array) - Constructor promotion + readonly properties; full type coverage - $level accepts int|string|Monolog\Level (default Level::Debug) - New $createStream argument (10th, default true) — set false to skip DescribeLogStreams + CreateLogStream when the stream is provisioned out of band; lets users drop those IAM permissions - PHPUnit config migrated to 10.x schema * Switch lint to PSR-12 and add phpstan to CI matrix * Update README, CHANGELOG, and CONTRIBUTING for 3.0 * Loosen aws/aws-sdk-php constraint to ^3.0 * Set 3.0.0 release date in CHANGELOG
PHP7 + Monolog 2 (#78) * Dependencies updated + composer.lock removed + GH Actions skeleton * Removed .travis.yml * Fix * PHP 7 * Fix * mbstring extension * Test failed test * Fix * Added coveralls * Fix * Run only on push * Up * Up * Optimize composer autoload * Cosmetic * Readme update * Cosmetic * Order changed * issue template removed
Do not overshadow errors thrown by DescribeLogGroups. (#68) If DescribeLogGroups throws an error (e.g. AccessDeniedException), the retry logic will still call DescribeLogStreams, which will also fail, either with AccessDeniedException, or, more confusingly, with "The specified log group does not exist." if the log group has never been created. This change makes sure that the original error is thrown.
PreviousNext