def add_redacter(self, match_expression, replacement):
        self.__num_redaction_and_sampling_rules += 1
        self.__redacter.add_redaction_rule(match_expression, replacement)
Adds a new redaction rule that will be applied after all previously added redaction rules.
dataset/ETHPy150Open scalyr/scalyr-agent-2/scalyr_agent/log_processing.py/LogFileProcessor.add_redacter