# Serilog

> Simple .NET logging with fully structured events

Source: https://talira.ai/catalog/serilog-y4wz6ahr
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [libraries / logging](https://talira.ai/categories/libraries/logging)
- Licence: Apache-2.0[^1]
- Pricing: Free and open source[^1]
- Pricing notes: Free and open source.
- Free tier: yes[^1]
- Plugins: yes[^2]
- Backed by: [Serilog](https://talira.ai/orgs/serilog.md)

Serilog is a diagnostic logging library for .NET that records structured event data. Message templates (named placeholders such as {Elapsed}) capture each value as a property instead of only formatting text, so events can be written as JSON and searched by property in back-ends that store structured logs, while files and the console still get readable text. Sinks send events to files, the console and many other outputs (Seq, Elasticsearch, cloud logging services), and packages integrate it with ASP.NET Core, Microsoft.Extensions.Logging, the .NET generic host and configuration files.

## Links

- Website: https://serilog.net/
- GitHub: https://github.com/serilog/serilog
- Docs: https://github.com/serilog/serilog/wiki

## Problems it solves

- structured logging for my ASP.NET Core app
- log JSON events from .NET that I can search by property
- write .NET logs to a file and the console with rolling files
- send my C# app's logs to Seq or Elasticsearch

## Features

- structured events from message templates
- sinks for files, the console and many other outputs
- ASP.NET Core, Microsoft.Extensions.Logging and generic host integration
- configuration from appsettings.json
- compact JSON formatting

## Capabilities

- Takes plugins: plan not known

## Trust

Overall: 0.53 out of 1.
Signals: maintenance 0.48, adoption 0.78, momentum 0.51, community 0.87, backing 0.30, extensibility 0.20.

- last commit 31 days ago
- 4 commits in the last 90 days
- latest release v4.4.0 4 months ago
- 8.1k GitHub stars
- 152 contributors
- has a company behind it
- has a plugin system

## Alternatives

- [Apache log4net](https://talira.ai/catalog/apache-log4net-dfxy7zcp.md): A logging library for .NET

## Sources

[^1]: https://github.com/serilog/serilog/blob/dev/LICENSE (checked 24 Nov 2026)
[^2]: https://github.com/serilog/serilog/wiki/Provided-Sinks (checked 24 Nov 2026)
