MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / debugLog

Function debugLog

packages/agent-core/src/tools/cron/scheduler.ts:205–209  ·  view source on GitHub ↗
(message: string)

Source from the content-addressed store, hash-verified

203 }
204
205 function debugLog(message: string): void {
206 if (process.env['KIMI_CRON_DEBUG'] === '1') {
207 process.stderr.write(`[cron/scheduler] ${message}\n`);
208 }
209 }
210
211 /**
212 * Compute the jittered next-fire for a task, starting from `baseMs`.

Callers 2

tickFunction · 0.85
nextFireForFunction · 0.85

Calls 1

writeMethod · 0.65

Tested by

no test coverage detected