@classmethod
def fromstring(cls, content):
    """Creates a parser from content of log.

        :param str content: The log content.
        :return: The parser instance.
        """
    return cls(content.strip().split(cls.line_separator))
