MCPcopy
hub / github.com/MrNothing/AI-Blocks / log

Method log

Sources/src/Model/Controllers/GlobalService.js:81–91  ·  view source on GitHub ↗
(msg, details, type)

Source from the content-addressed store, hash-verified

79 }
80
81 log(msg, details, type)
82 {
83 if(this.logs.length>50)
84 this.logs.splice(0, 1);
85
86 this.logs.push({msg:msg, type:type, details:details});
87 if(this.outputUI!=null)
88 this.outputUI.update();
89 if(this.footerUI!=null)
90 this.footerUI.forceUpdate();
91 }
92
93 getUniqueID()
94 {

Callers 15

checkLoadingCompleteMethod · 0.95
onRunStartMethod · 0.95
onRunEndMethod · 0.95
pasteSelectionMethod · 0.95
core.jsFile · 0.80
getFileMethod · 0.80
loadParamsMethod · 0.80
componentDidCatchMethod · 0.80
RunMethod · 0.80
StopMethod · 0.80
openProjectClickedMethod · 0.80
saveProjectClickedMethod · 0.80

Calls 1

updateMethod · 0.80

Tested by

no test coverage detected