MCPcopy Index your code
hub / github.com/Opencode-DCP/opencode-dynamic-context-pruning / debug

Method debug

lib/logger.ts:96–99  ·  view source on GitHub ↗
(message: string, data?: any)

Source from the content-addressed store, hash-verified

94 }
95
96 debug(message: string, data?: any) {
97 const component = this.getCallerFile(2)
98 return this.write("DEBUG", component, message, data)
99 }
100
101 warn(message: string, data?: any) {
102 const component = this.getCallerFile(2)

Callers 8

getCurrentParamsFunction · 0.80
createEventHandlerFunction · 0.80
deduplicateFunction · 0.80
purgeErrorsFunction · 0.80
handleSweepCommandFunction · 0.80
loadAllSessionStatsFunction · 0.80

Calls 2

getCallerFileMethod · 0.95
writeMethod · 0.95

Tested by

no test coverage detected