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

Method error

packages/agent-core/src/logging/logger.ts:282–284  ·  view source on GitHub ↗
(message: string, payload?: LogPayload)

Source from the content-addressed store, hash-verified

280 constructor(private readonly boundCtx: LogContext) {}
281
282 error(message: string, payload?: LogPayload): void {
283 this.emitAt('error', message, payload);
284 }
285 warn(message: string, payload?: LogPayload): void {
286 this.emitAt('warn', message, payload);
287 }

Callers

nothing calls this directly

Calls 1

emitAtMethod · 0.95

Tested by

no test coverage detected