Since this module requires >=2.0.0 of monolog an error is produced:
Warning: Declaration of JustBetter\Sentry\Plugin\MonologPlugin::addRecord(int $level, string $message, array $context = Array): bool should be compatible with Monolog\Logger::addRecord(int $level, string $message, array $context = Array, ?Monolog\DateTimeImmutable $datetime = NULL): bool in vendor/justbetter/magento2-sentry/Plugin/MonologPlugin.php on line 54
Today, monolog/monolog was updated to v2.7.0 where they added an additional
$datetime
parameter to theaddRecord
method in: https://github.com/Seldaek/monolog/releases/tag/2.7.0Since this module requires >=2.0.0 of monolog an error is produced:
Ref: