Show table of contents Hide table of contents

Logging from .NET

Seq has package integrations with a few popular .NET logging frameworks.

Serilog instructions

If you use Serilog logger, install Serilog.Sinks.Seq library to log to Seq.

Microsoft.Extensions.Logging instructions

If you use Microsoft.Extensions.Logging with ASP.NET Core, you can add the Seq.Extensions.Logging provider to send events to Seq.

NLog instructions

Projects with NLog can install the target package NLog.Targets.Seq.

Apache log4Net instructions

Applications using Apache log4Net can import the Seq.Client.Log4Net appender.

OpenTelemetry .NET SDK instructions

Applications can connect the OpenTelemetry .NET SDK directly to Seq using OTLP.