Serilog logo


A portable and structured logging framework to record diagnostic logs
+ 1

What is Serilog?

It provides diagnostic logging to files, the console, and elsewhere. It is easy to set up, has a clean API, and is portable between recent .NET platforms.
Serilog is a tool in the Log Management category of a tech stack.
Serilog is an open source tool with 5.4K GitHub stars and 690 GitHub forks. Here’s a link to Serilog's open source repository on GitHub

Who uses Serilog?

24 companies reportedly use Serilog in their tech stacks, including Armut, Financial Services, and Hudl Web Stack.

66 developers on StackShare have stated that they use Serilog.

Serilog Integrations

ASP.NET, C++, .NET, LogRocket, and Seq are some of the popular tools that integrate with Serilog. Here's a list of all 6 tools that integrate with Serilog.
Decisions about Serilog

Here are some stack decisions, common use cases and reviews by companies and developers who chose Serilog in their tech stack.

Waqas Riaz
Software Engineer at Center for Water Informatics & Technology · | 4 upvotes · 15.1K views

Hi All, I am working upon developing a C# based windows service to work as a TCP server using Visual Studio 2019 as a development studio while using .NET Core 3.0.

As its a background application, therefore, I am up on to add tracing and logging feature into it and want to write to 'text file' my trace and log outputs.

By my research, I came upon 2 potential tracing and logging frameworks and on the verge to choose 1, therefore Serilog OR NLog.

Anyone here who can help me out by his/her experience of 1 framework being better than other.?

See more

Serilog's Features

  • Structured logging
  • .NET logger

Serilog Alternatives & Comparisons

What are some alternatives to Serilog?
Logstash is a tool for managing events and logs. You can use it to collect logs, parse them, and store them for later use (like, for searching). If you store them in Elasticsearch, you can view and analyze them with Kibana.
Seq is a self-hosted server for structured log search, analysis, and alerting. It can be hosted on Windows or Linux/Docker, and has integrations for most popular structured logging libraries.
It is the acronym for three open source projects: Elasticsearch, Logstash, and Kibana. Elasticsearch is a search and analytics engine. Logstash is a server‑side data processing pipeline that ingests data from multiple sources simultaneously, transforms it, and then sends it to a "stash" like Elasticsearch. Kibana lets users visualize data with charts and graphs in Elasticsearch.
Papertrail helps detect, resolve, and avoid infrastructure problems using log messages. Papertrail's practicality comes from our own experience as sysadmins, developers, and entrepreneurs.
Fluentd collects events from various data sources and writes them to files, RDBMS, NoSQL, IaaS, SaaS, Hadoop and so on. Fluentd helps you unify your logging infrastructure.
See all alternatives

Serilog's Followers
76 developers follow Serilog to keep up with related blogs and decisions.