Class LogAdminAuditService

Assembly: redb.Tsak.Core.dll

Fallback used when Tsak runs without a database
(Tsak:Storage:Type=InMemory / no Tsak:Redb:Provider) or when audit
persistence is switched off.

The event is written as a single line: the literal anchor [tsak-audit] followed by
one JSON object. The anchor sits at the start of the message so a standalone deployment can
grep the line and parse everything after the anchor with any JSON reader — no log-format
parsing, no multi-line handling.


When a provider IS configured, takes over and writes to
tsak_audit_log; this sink then only receives events the database rejected.

public sealed class LogAdminAuditService : IAdminAuditService

Inheritance

Object→LogAdminAuditService

Implements

Methods

RecordAsync(AdminAuditEvent, CancellationToken)

public Task RecordAsync(AdminAuditEvent @event, CancellationToken ct)

Constructors