Seq is the easiest way for .NET developers to capture, search and integrate structured log events.
By increasing visibility into running apps from development through to production, Seq helps your team identify and resolve issues fast.
Seq is a self-hosted web application you can install on-premises or in the cloud. Authentication, API keys and full support for SSL at the logging endpoint keep your data safe.
To get started install the Seq.Client.Serilog package from Visual Studio's NuGet console:
Point a logger to Seq:
And use the Serilog message template DSL to associate named properties with log events:
Serilog supports logging to multiple sinks, so you can use the console or a flat log file too if you like.
Seq has full text-searching capabilities including regular expressions. You don't give up any flexibility by using structured logs.
When you log structured data, Seq lets you "reach inside" events
with a C#-inspired query syntax for ultimate filtering and correlation. If an
event includes numeric data, query with all the comparisons you'd expect:
== and so-on.