def add_redaction_rule(self, redaction_expression, replacement_text):
        self.__redaction_rules.append(RedactionRule(redaction_expression, replacement_text))
Appends a new redaction rule to this instance.
dataset/ETHPy150Open scalyr/scalyr-agent-2/scalyr_agent/log_processing.py/LogLineRedacter.add_redaction_rule