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
userIdstring-
The user whose daily log should be updated.
logEntrystring-
The log entry text to append.
timeZoneTimeZoneInfo?-
The time zone used to choose the daily log date, or UTC when omitted.
ctCancellationToken-
A token that can cancel before the final mutation; an admitted write completes.