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

Method warn

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

Source from the content-addressed store, hash-verified

99 }
100
101 warn(message: string, data?: any) {
102 const component = this.getCallerFile(2)
103 return this.write("WARN", component, message, data)
104 }
105
106 error(message: string, data?: any) {
107 const component = this.getCallerFile(2)

Callers 9

loadSessionStateFunction · 0.80
loadAllSessionStatsFunction · 0.80
syncToolCacheFunction · 0.80
checkSessionFunction · 0.80
filterCompressedRangesFunction · 0.80
reloadMethod · 0.80
ensureDefaultFilesMethod · 0.80

Calls 2

getCallerFileMethod · 0.95
writeMethod · 0.95

Tested by

no test coverage detected