MCPcopy
hub / github.com/Doorman11991/smallcode / error

Method error

src/compiled/logger.js:36–38  ·  view source on GitHub ↗
(event, fields = {})

Source from the content-addressed store, hash-verified

34 this.emit({ level: "warn", event, status: "rejected", trace_id: fields.trace_id || "", ...fields });
35 }
36 error(event, fields = {}) {
37 this.emit({ level: "error", event, status: "failure", trace_id: fields.trace_id || "", ...fields });
38 }
39 debug(event, fields = {}) {
40 if (process.env.LOG_LEVEL === "debug") {
41 this.emit({ level: "debug", event, status: "success", trace_id: fields.trace_id || "", ...fields });

Callers 15

executeFlowFunction · 0.45
executeFlowFunction · 0.45
prompt_code_assistFunction · 0.45
prompt_compress_historyFunction · 0.45
repair_code_assistFunction · 0.45
repair_code_assistFunction · 0.45
runLoopFunction · 0.45
runLoopFunction · 0.45
prompt_code_assistFunction · 0.45
prompt_compress_historyFunction · 0.45

Calls 1

emitMethod · 0.95

Tested by

no test coverage detected