MCPcopy Create free account
hub / github.com/MCSManager/MCSManager / println

Method println

daemon/src/entity/instance/instance.ts:431–434  ·  view source on GitHub ↗
(level: string, text: string)

Source from the content-addressed store, hash-verified

429
430 // custom output method, formatting
431 println(level: string, text: string) {
432 const str = `[${level}] ${text}\n`;
433 this.emit("data", str);
434 }
435
436 // custom output method
437 print(data: any) {

Callers 15

failureMethod · 0.95
stoppedMethod · 0.95
#stopInstanceMethod · 0.80
checkDiskNowMethod · 0.80
onStartMethod · 0.80
onStartMethod · 0.80
downloadMethod · 0.80
onStartMethod · 0.80
onStopMethod · 0.80
onErrorMethod · 0.80
execFunction · 0.80
startMethod · 0.80

Calls 1

emitMethod · 0.80

Tested by

no test coverage detected