Skip to content

Commit

Permalink
Change name to monologMinimumLevel
Browse files Browse the repository at this point in the history
  • Loading branch information
Jozhef committed Mar 22, 2019
2 parents 6aed6c7 + 1cec8e1 commit 38fa40a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Factories/RollbarHandlerFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class RollbarHandlerFactory
/**
* @var string|null
*/
private $minimumLevel;
private $monologMinimumLevel;

/**
* RollbarHandlerFactory constructor.
Expand Down Expand Up @@ -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);
}
Expand All @@ -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);
}
}

0 comments on commit 38fa40a

Please sign in to comment.