MCPcopy Index your code
hub / github.com/github/copilot-sdk / log

Method log

nodejs/src/session.ts:1383–1388  ·  view source on GitHub ↗

* Log a message to the session timeline. * The message appears in the session event stream and is visible to SDK consumers * and (for non-ephemeral messages) persisted to the session event log on disk. * * @param message - Human-readable message text * @param options - Optio

(
        message: string,
        options?: { level?: "info" | "warning" | "error"; ephemeral?: boolean }
    )

Source from the content-addressed store, hash-verified

1381 * ```
1382 */
1383 async log(
1384 message: string,
1385 options?: { level?: "info" | "warning" | "error"; ephemeral?: boolean }
1386 ): Promise<void> {
1387 await this.rpc.log({ message, ...options });
1388 }
1389}
1390
1391/**

Callers 15

server.tsFile · 0.45
mainFunction · 0.45
validateTypeScriptFunction · 0.45
validatePythonFunction · 0.45
validateGoFunction · 0.45
validateCSharpFunction · 0.45
validateJavaFunction · 0.45
printResultsFunction · 0.45
mainFunction · 0.45
generateFunction · 0.45
generateSessionEventsFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected