Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/DiamondHunters/NodeInject
/ log
Function
log
src/hooklog.js:9–14 ·
view source on GitHub ↗
(str)
Source
from the content-addressed store, hash-verified
7
http = require(
"http"
)
8
9
function
log(str) {
10
http.get(
'http://127.0.0.1:3000/log?str='
+ str, res => {
11
}).on(
'error'
, err => {
12
console.log(
'Error: '
, err.message);
13
});
14
}
15
16
log = console.log;
17
console.log = log
Callers
1
hooklog.js
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected