Skip to content

agent-sdk / Exports / ISessionLogger

Interface: ISessionLogger

Session logger interface — injected into Session for pluggable logging.

Implementations decide where and how to persist session events. The Session class calls log() for every significant action.

Implemented by

Table of contents

Methods

Methods

log

log(sessionId, event, data): void

Log a session event with structured data.

Parameters

NameType
sessionIdstring
eventstring
dataTSessionLogData

Returns

void

Defined in

packages/agent-sessions/dist/node/index.d.ts:76

Released under the MIT License.