Monolog\Handler\AbstractHandler::getLevel PHP Method

getLevel() public method

Gets minimum logging level at which this handler will be triggered.
public getLevel ( ) : integer
return integer
    public function getLevel()
    {
        return $this->level;
    }

Usage Example

 public function __construct(AbstractHandler $handler, \Bubble\CatchBubble $catchBubble)
 {
     parent::__construct($handler->getLevel(), $handler->getBubble());
     $this->handler = $handler;
     $this->catchBubble = $catchBubble;
 }