MCPcopy Create free account
hub / github.com/Dart-Code/Dart-Code / log

Method log

src/shared/logging.ts:166–169  ·  view source on GitHub ↗
(message: string)

Source from the content-addressed store, hash-verified

164 }
165
166 public log(message: string) {
167 this.lines[this.pointer] = message;
168 this.pointer = (this.pointer + 1) % this.size;
169 }
170
171 public toString(): string {
172 return this.lines.slice(this.pointer, this.size).concat(this.lines.slice(0, this.pointer)).filter((l) => l).join("\n");

Callers 9

startMethod · 0.45
test_all.tsFile · 0.45
runTestsFunction · 0.45
runAllTestsFunction · 0.45
runFunction · 0.45
logging.test.tsFile · 0.45
getActiveRealFileEditorFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected