RegexMaskingTransformer class for masking and rehydrating messages with Regex.

Hierarchy

Constructors

Methods

Constructors

Methods

  • Masks content in a message based on the defined patterns.

    Parameters

    • message: string

      The message to be masked.

    • state: Map<string, string>

      The current state containing original values.

    Returns Promise<[string, Map<string, string>]>

    A tuple of the masked message and the updated state.

Generated using TypeDoc