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 7.3K GitHub stars and 798 GitHub forks. Here’s a link to Serilog's open source repository on GitHub
Who uses Serilog?
Companies
36 companies reportedly use Serilog in their tech stacks, including Armut, Hudl Web Stack, and Financial Services.
Developers
125 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.
Pros of Serilog
1
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 · 1M 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.?
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.
New Relic
The world’s best software and DevOps teams rely on New Relic to move faster, make better decisions and create best-in-class digital experiences. If you run software, you need to run New Relic. More than 50% of the Fortune 100 do too.
Kibana
Kibana is an open source (Apache Licensed), browser based analytics and search dashboard for Elasticsearch. Kibana is a snap to setup and start using. Kibana strives to be easy to get started with, while also being flexible and powerful, just like Elasticsearch.
Grafana
Grafana is a general purpose dashboard and graph composer. It's focused on providing rich ways to visualize time series metrics, mainly though graphs but supports other ways to visualize data through a pluggable panel architecture. It currently has rich support for for Graphite, InfluxDB and OpenTSDB. But supports other data sources via plugins.