Skip to content

Interface IAuditWriter

Namespace: Cephalon.Abstractions.Audit
Assembly: Cephalon.Abstractions.dll

Persists audit entries for the current runtime.

public interface IAuditWriter

WriteAsync(AuditEntry, CancellationToken)

Section titled “ WriteAsync(AuditEntry, CancellationToken)”

Writes one audit entry.

ValueTask WriteAsync(AuditEntry entry, CancellationToken cancellationToken = default)

entry AuditEntry

The audit entry to write.

cancellationToken CancellationToken

The token that cancels the operation.

ValueTask

A task that completes when the audit entry has been written.