@classmethod
def all_formats(cls):
    """Mapping of all defined log format patterns.

        :returns: dictionary of name:``LogFormat`` instances.
        :rtype: ``dict``

        """
    formats = {}
    for name, ref in cls.__formats_.items():
        instance = ref()
        if instance is not None:
            formats[name] = instance
    return formats
