MCPcopy Index your code
hub / github.com/ChatLab/ChatLab / error

Method error

packages/node-runtime/src/logging/app-logger.ts:46–48  ·  view source on GitHub ↗

`data` may be an Error; its name/message/stack are extracted automatically.

(scope: string, message: string, data?: unknown)

Source from the content-addressed store, hash-verified

44
45 /** `data` may be an Error; its name/message/stack are extracted automatically. */
46 error(scope: string, message: string, data?: unknown): void {
47 this.write('ERROR', scope, message, data)
48 }
49
50 getLogPath(): string {
51 return this.logFile

Callers

nothing calls this directly

Calls 1

writeMethod · 0.95

Tested by

no test coverage detected