/** * Pops a handler from the stack * * @return HandlerInterface|null */ public function popHandler() { try { return $this->logger->popHandler(); } catch (Error $ex) { return null; } catch (Exception $ex) { return null; } }