UNPKG

505 BTypeScriptView Raw
1/**
2 * Default set of regular expressions used to remove sensitive
3 * information from messages and logs. The entries are applied in
4 * order, so more specific regular expressions should be placed
5 * earlier in the list to avoid a shorter replacement preventing a
6 * longer replacement from being applied.
7 */
8export declare const DEFAULT_REDACTION_PATTERNS: {
9 regexp: RegExp;
10 replacement: string;
11}[];
12export declare function redact(message: string): string;
13//# sourceMappingURL=redact.d.ts.map
\No newline at end of file