Match native hook logging to the other scripts

This commit is contained in:
Tim Perry
2023-10-18 19:16:53 +02:00
parent 66873783ec
commit bc70add19c
+5 -1
View File
@@ -102,7 +102,11 @@ if (!connectFn) { // Should always be set, but just in case
}
});
console.log(`Hooked connect() at ${connectFn}`);
console.log(`== Redirecting ${
IGNORED_NON_HTTP_PORTS.length === 0
? 'all'
: 'all unrecognized'
} TCP connections to ${PROXY_HOST}:${PROXY_PORT} ==`);
}
const areArraysEqual = (arrayA, arrayB) => {