MCPcopy
hub / github.com/librespeed/speedtest / tlog

Function tlog

speedtest_worker.js:21–25  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

19
20let log = ""; //telemetry log
21function tlog(s) {
22 if (settings.telemetry_level >= 2) {
23 log += Date.now() + ": " + s + "\n";
24 }
25}
26function tverb(s) {
27 if (settings.telemetry_level >= 3) {
28 log += Date.now() + ": " + s + "\n";

Callers 5

getIpFunction · 0.85
dlTestFunction · 0.85
ulTestFunction · 0.85
pingTestFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected