Takaro - v0.4.11
    Preparing search index...

    Function parameterize

    • Tagged template function which returns paramaterized representation of the message For example: parameterizeThis is a log statement with ${x} and ${y} params, would return: "sentry_template_string": 'This is a log statement with %s and %s params', "sentry_template_values": ['first', 'second']

      Parameters

      • strings: TemplateStringsArray

        An array of string values splitted between expressions

      • ...values: string[]

        Expressions extracted from template string

      Returns ParameterizedString

      String with template information in sentry_template_string and sentry_template_values properties