(key: string)
| 48 | const ANSI_RESET = '\u001B[0m'; |
| 49 | |
| 50 | function normalizeKey(key: string): string { |
| 51 | return key.toLowerCase().replaceAll(/[_\-.]/g, ''); |
| 52 | } |
| 53 | |
| 54 | export function redactCtx(ctx: LogContext): LogContext { |
| 55 | const seen = new WeakSet<object>(); |