<PackageReference Include="Serilog.Sinks.Seq" Version="9.1.0-dev-02311" />

Serilog.Sinks.Seq.Http.SeqIngestionApi

abstract class SeqIngestionApi : IDisposable
A substitutable interface type for the Seq HTTP ingestion API.
namespace Serilog.Sinks.Seq.Http { internal abstract class SeqIngestionApi : IDisposable { public const string RawEventFormatMediaType = "application/json"; public const string CompactLogEventFormatMediaType = "application/vnd.serilog.clef"; public const string EmptyClefPayload = ""; public Task<LogEventLevel?> IngestAsync(string clefPayload); public abstract Task<IngestionResult> TryIngestAsync(string payload, string mediaType); public virtual void Dispose(); protected SeqIngestionApi(); } }