'format_dict : dictionary for format strings to be used.
formatter : fall-back formatter'

def __init__(self, format_dict, formatter=None):

    super(DictFormatter, self).__init__()
    self._format_dict = format_dict
    self._fallback_formatter = formatter
