Lines Matching refs:handler
41 protected $handler; variable in Monolog\\Handler\\FilterHandler
61 …* @param callable|HandlerInterface $handler Handler or factory callable($record|null, $filt…
69 …public function __construct($handler, $minLevelOrList = Logger::DEBUG, $maxLevel = Logger::EMERGEN… argument
71 $this->handler = $handler;
75 if (!$this->handler instanceof HandlerInterface && !is_callable($this->handler)) {
76 …throw new \RuntimeException("The given handler (".json_encode($this->handler).") is not a callable…
166 if (!$this->handler instanceof HandlerInterface) {
167 $this->handler = ($this->handler)($record, $this);
168 if (!$this->handler instanceof HandlerInterface) {
173 return $this->handler;
181 $handler = $this->getHandler();
182 if ($handler instanceof FormattableHandlerInterface) {
183 $handler->setFormatter($formatter);
188 …throw new \UnexpectedValueException('The nested handler of type '.get_class($handler).' does not s…
196 $handler = $this->getHandler();
197 if ($handler instanceof FormattableHandlerInterface) {
198 return $handler->getFormatter();
201 …throw new \UnexpectedValueException('The nested handler of type '.get_class($handler).' does not s…