MCPcopy Create free account
hub / github.com/bytebase/bytebase / print

Method print

frontend/src/utils/TinyTimer.ts:50–60  ·  view source on GitHub ↗
(tag: T)

Source from the content-addressed store, hash-verified

48 entry.time += elapsed;
49 }
50 print(tag: T) {
51 if (isRelease()) return;
52
53 const entry = this.entires[tag];
54 if (!entry) return;
55 const contents = [JSON.stringify(entry, null, " ")];
56 if (this.title) {
57 contents.unshift(`[${this.title}]`);
58 }
59 console.debug(contents.join(" "));
60 }
61 printAll() {
62 if (isRelease()) return;
63

Callers 1

printAllMethod · 0.95

Calls 1

isReleaseFunction · 0.90

Tested by

no test coverage detected