MCPcopy Create free account
hub / github.com/Moddable-OpenSource/moddable / traceProtocol

Method traceProtocol

modules/crypt/ssl/session_419.js:287–293  ·  view source on GitHub ↗
(protocol)

Source from the content-addressed store, hash-verified

285 this.traceDirection = direction;
286 }
287 traceProtocol(protocol) {
288 if (undefined === this.traceLevel)
289 return;
290
291 trace(">".repeat(this.traceLevel + 1) + " " + protocol.name + "." + this.traceDirection + "\n");
292 this.traceLevel++;
293 }
294 stopTrace() {
295 if (this.alert) {
296 trace("ALERT! (" + this.alert.level + ", " + this.alert.description + "\n");

Callers 8

unpacketizeFunction · 0.45
packetizeFunction · 0.45
unpacketizeFunction · 0.45
packetizeFunction · 0.45
unpacketizeFunction · 0.45
packetizeFunction · 0.45
unpacketizeFunction · 0.45
packetizeFunction · 0.45

Calls 1

repeatMethod · 0.80

Tested by

no test coverage detected