Skip to content

Commit c20e0c2

Browse files
committed
Merge branch '3.x' into 4.x
* 3.x: Update changelog Use conditional class name depending on the Monolog version Update RollbarNotifier to RollbarLogger in DI
2 parents 91b61eb + c58895e commit c20e0c2

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
## Unreleased
22

3+
* Fix `rollbar` handler to use `RollbarLogger`
4+
35
## 4.0.0 (2025-11-27)
46

57
* Add support for Symfony 8.0

src/DependencyInjection/MonologExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -696,7 +696,7 @@ private function buildHandler(ContainerBuilder $container, string $name, array $
696696
} else {
697697
$config = $handler['config'] ?: [];
698698
$config['access_token'] = $handler['token'];
699-
$rollbar = new Definition(\RollbarNotifier::class, [
699+
$rollbar = new Definition(\Rollbar\RollbarLogger::class, [
700700
$config,
701701
]);
702702
$rollbarId = 'monolog.rollbar.notifier.'.sha1(json_encode($config));

0 commit comments

Comments
 (0)