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

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