"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "vendor/monolog/monolog/src/Monolog/Handler/FilterHandler.php" between
glpi-9.3.3.tgz and glpi-9.4.0.tgz

About: GLPI is an IT and asset management software (Information Resource Manager).

FilterHandler.php  (glpi-9.3.3.tgz):FilterHandler.php  (glpi-9.4.0.tgz)
skipping to change at line 43 skipping to change at line 43
/** /**
* Minimum level for logs that are passed to handler * Minimum level for logs that are passed to handler
* *
* @var int[] * @var int[]
*/ */
protected $acceptedLevels; protected $acceptedLevels;
/** /**
* Whether the messages that are handled can bubble up the stack or not * Whether the messages that are handled can bubble up the stack or not
* *
* @var Boolean * @var bool
*/ */
protected $bubble; protected $bubble;
/** /**
* @param callable|HandlerInterface $handler Handler or factory calla ble($record, $this). * @param callable|HandlerInterface $handler Handler or factory calla ble($record, $this).
* @param int|array $minLevelOrList A list of levels to acce pt or a minimum level if maxLevel is provided * @param int|array $minLevelOrList A list of levels to acce pt or a minimum level if maxLevel is provided
* @param int $maxLevel Maximum level to accept, only used if $minLevelOrList is not an array * @param int $maxLevel Maximum level to accept, only used if $minLevelOrList is not an array
* @param Boolean $bubble Whether the messages tha t are handled can bubble up the stack or not * @param bool $bubble Whether the messages tha t are handled can bubble up the stack or not
*/ */
public function __construct($handler, $minLevelOrList = Logger::DEBUG, $maxL evel = Logger::EMERGENCY, $bubble = true) public function __construct($handler, $minLevelOrList = Logger::DEBUG, $maxL evel = Logger::EMERGENCY, $bubble = true)
{ {
$this->handler = $handler; $this->handler = $handler;
$this->bubble = $bubble; $this->bubble = $bubble;
$this->setAcceptedLevels($minLevelOrList, $maxLevel); $this->setAcceptedLevels($minLevelOrList, $maxLevel);
if (!$this->handler instanceof HandlerInterface && !is_callable($this->h andler)) { if (!$this->handler instanceof HandlerInterface && !is_callable($this->h andler)) {
throw new \RuntimeException("The given handler (".json_encode($this- >handler).") is not a callable nor a Monolog\Handler\HandlerInterface object"); throw new \RuntimeException("The given handler (".json_encode($this- >handler).") is not a callable nor a Monolog\Handler\HandlerInterface object");
} }
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)