diff --git a/Factories/RollbarHandlerFactory.php b/Factories/RollbarHandlerFactory.php index e6d719f..b19a674 100755 --- a/Factories/RollbarHandlerFactory.php +++ b/Factories/RollbarHandlerFactory.php @@ -18,7 +18,7 @@ class RollbarHandlerFactory /** * @var string|null */ - private $minimumLevel; + private $monologMinimumLevel; /** * RollbarHandlerFactory constructor. @@ -53,7 +53,7 @@ public function __construct(ContainerInterface $container) }; } - $this->minimumLevel = isset($config['minimum_level']) ? $config['minimum_level'] : LogLevel::ERROR; + $this->monologMinimumLevel = isset($config['monolog_minimum_level']) ? $config['monolog_minimum_level'] : LogLevel::ERROR; Rollbar::init($config, false, false, false); } @@ -65,6 +65,6 @@ public function __construct(ContainerInterface $container) */ public function createRollbarHandler() { - return new RollbarHandler(Rollbar::logger(), $this->minimumLevel); + return new RollbarHandler(Rollbar::logger(), $this->monologMinimumLevel); } }