set_fields

        Change the fields that will be added in on
        a log

        :param new_fields: new fields to patch in

def set_fields(
            self,
            new_fields):
        """set_fields

        Change the fields that will be added in on
        a log

        :param new_fields: new fields to patch in
        """
        self.org_fields = {}
        self.fields_to_add = {}
        for k in new_fields:
            self.org_fields[k] = new_fields[k]
            self.fields_to_add[k] = new_fields[k]