MCPcopy
hub / github.com/opentrace/opentrace / log

Method log

ui/src/components/pipeline/concurrent/debug.ts:54–67  ·  view source on GitHub ↗
(label: string, detail?: string)

Source from the content-addressed store, hash-verified

52 }
53
54 log(label: string, detail?: string): void {
55 if (!this._enabled) return;
56 const now = performance.now();
57 const entry: DebugEntry = {
58 ts: now,
59 elapsed: now - this.startTime,
60 label,
61 detail,
62 };
63 this.entries.push(entry);
64 if (this.entries.length > this.maxEntries) {
65 this.entries.shift();
66 }
67 }
68
69 logEvent(event: ConcurrentPipelineEvent): void {
70 if (!this._enabled) return;

Callers 15

startMethod · 0.95
logEventMethod · 0.95
startJobMethod · 0.95
noReturnTypeFunction · 0.80
orchestrateFunction · 0.80
mainFunction · 0.80
triggerPingMethod · 0.80
useCommunitiesFunction · 0.80
useGraphInstanceFunction · 0.80
dumpMethod · 0.80
concurrent.test.tsFile · 0.80
github.test.tsFile · 0.80

Calls 1

pushMethod · 0.80

Tested by 1

runAndLogFunction · 0.64