(value: T)
| 416 | export const log: Logger = new LoggerImpl({}); |
| 417 | |
| 418 | export function redact<T>(value: T): T { |
| 419 | if (value === null || typeof value !== 'object') return value; |
| 420 | return redactCtx({ value: value as unknown })['value'] as T; |
| 421 | } |
| 422 | |
| 423 | /** @internal — vitest only. */ |
| 424 | export async function __resetRootLoggerForTest(): Promise<void> { |
no test coverage detected