public function getHandler(string $id)
    {
        if (!isset($this->_handlers[$id])) {
            throw new \RuntimeException('Handler with ID "'.$id.'" is not registered on the logger factory.');
        }

        return $this->_handlers[$id];
    }