Serilog logo

Serilog

A portable and structured logging framework to record diagnostic logs
1.1K
84
+ 1
0

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.7K GitHub stars and 702 GitHub forks. Here’s a link to Serilog's open source repository on GitHub

Who uses Serilog?

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

Developers
75 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 · 993.2K 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
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
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.
Logback
It is intended as a successor to the popular log4j project. It is divided into three modules, logback-core, logback-classic and logback-access. The logback-core module lays the groundwork for the other two modules, logback-classic natively implements the SLF4J API so that you can readily switch back and forth between logback and other logging frameworks and logback-access module integrates with Servlet containers, such as Tomcat and Jetty, to provide HTTP-access log functionality.
SLF4J
It is a simple Logging Facade for Java (SLF4J) serves as a simple facade or abstraction for various logging frameworks allowing the end user to plug in the desired logging framework at deployment time.
ELK
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.
See all alternatives

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