//#region src/utils/sanitize-log.ts
/** Strip control chars from log labels (server names, keys). */
function sanitizeForLog(value) {
	return value.replace(/[\u0000-\u001f\u007f]/g, "?");
}
//#endregion
export { sanitizeForLog };

//# sourceMappingURL=sanitize-log.js.map