* 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 }
)
| 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 | /** |
no outgoing calls
no test coverage detected