MCPcopy Create free account
hub / github.com/aiscript-dev/aiscript / log

Method log

src/interpreter/scope.ts:25–31  ·  view source on GitHub ↗
(type: string, params: LogObject)

Source from the content-addressed store, hash-verified

23
24 @autobind
25 private log(type: string, params: LogObject): void {
26 if (this.parent) {
27 this.parent.log(type, params);
28 } else {
29 if (this.opts.log) this.opts.log(type, params);
30 }
31 }
32
33 @autobind
34 private onUpdated(name: string, value: Value): void {

Callers 15

getMethod · 0.95
existsMethod · 0.95
addMethod · 0.95
assignMethod · 0.95
math.tsFile · 0.45
repl.mjsFile · 0.45
outFunction · 0.45
errFunction · 0.45
logFunction · 0.45
mainFunction · 0.45
getNewLogFunction · 0.45
parse.mjsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected