def METHOD_NAME(self):
    formatter = olympia.core.logger.JsonFormatter()
    record = self.make_fake_record(level=logging.NOTSET)
    formatted = json.loads(formatter.format(record))
    assert formatted['severity'] == 0  # For Stackdriver
    assert formatted['Severity'] == 7  # For MozLog 2.0 (7 is default)
    record = self.make_fake_record(level=logging.DEBUG)
    formatted = json.loads(formatter.format(record))
    assert formatted['severity'] == 100  # For Stackdriver
    assert formatted['Severity'] == 7  # For MozLog 2.0
    record = self.make_fake_record(level=logging.INFO)
    formatted = json.loads(formatter.format(record))
    assert formatted['severity'] == 200  # For Stackdriver
    assert formatted['Severity'] == 6  # For MozLog 2.0
    record = self.make_fake_record(level=logging.WARNING)
    formatted = json.loads(formatter.format(record))
    assert formatted['severity'] == 400  # For Stackdriver
    assert formatted['Severity'] == 4  # For MozLog 2.0
    record = self.make_fake_record(level=logging.ERROR)
    formatted = json.loads(formatter.format(record))
    assert formatted['severity'] == 500  # For Stackdriver
    assert formatted['Severity'] == 3  # For MozLog 2.0
    record = self.make_fake_record(level=logging.CRITICAL)
    formatted = json.loads(formatter.format(record))
    assert formatted['severity'] == 600  # For Stackdriver
    assert formatted['Severity'] == 2  # For MozLog 2.0