Table of Contents

Method AppendDailyLogAsync

Namespace
Oscova.Agents.Memory
Assembly
Oscova.Agents.dll

AppendDailyLogAsync(string, string, TimeZoneInfo?, CancellationToken)

Appends an entry to the user's daily log for the current date in the requested time zone.

Task AppendDailyLogAsync(string userId, string logEntry, TimeZoneInfo? timeZone = null, CancellationToken ct = default)

Parameters

userId string

The user whose daily log should be updated.

logEntry string

The log entry text to append.

timeZone TimeZoneInfo?

The time zone used to choose the daily log date, or UTC when omitted.

ct CancellationToken

A token that can cancel before the final mutation; an admitted write completes.

Returns

Task