Serilog logo

Serilog

A portable and structured logging framework to record diagnostic logs
578
67
+ 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 5K GitHub stars and 656 GitHub forks. Here’s a link to Serilog's open source repository on GitHub

Who uses Serilog?

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

Developers
59 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 · 11.3K 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.
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.
Papertrail
Papertrail helps detect, resolve, and avoid infrastructure problems using log messages. Papertrail's practicality comes from our own experience as sysadmins, developers, and entrepreneurs.
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.
See all alternatives

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