Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
22 lines
1.2 KiB
Plaintext
22 lines
1.2 KiB
Plaintext
import type { ParameterizedString } from '../types-hoist/parameterize';
|
|
/**
|
|
* Tagged template function which returns parameterized representation of the message
|
|
* For example: parameterize`This 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']
|
|
*
|
|
* @param strings An array of string values splitted between expressions
|
|
* @param values Expressions extracted from template string
|
|
*
|
|
* @returns A `ParameterizedString` object that can be passed into `captureMessage` or Sentry.logger.X methods.
|
|
*/
|
|
export declare function parameterize(strings: TemplateStringsArray, ...values: unknown[]): ParameterizedString;
|
|
/**
|
|
* Tagged template function which returns parameterized representation of the message.
|
|
*
|
|
* @param strings An array of string values splitted between expressions
|
|
* @param values Expressions extracted from template string
|
|
* @returns A `ParameterizedString` object that can be passed into `captureMessage` or Sentry.logger.X methods.
|
|
*/
|
|
export declare const fmt: typeof parameterize;
|
|
//# sourceMappingURL=parameterize.d.ts.map |