talira

Compare

NLogSerilogApache log4net
What it isFlexible, structured logging for .NETSimple .NET logging with fully structured eventsA logging library for .NET
KindOpen sourceOpen sourceOpen source
Trust0.690.530.64
Stars65488065937
Last commit2026-11-232026-10-232026-11-23
LicenceBSD-3-ClauseApache-2.0Apache-2.0
PricingFree and open sourceFree and open sourceFree and open source
Free tierYesYesYes
Self-hostable———
Ways to run it———
SOC 2———
HIPAA———
SSO———
API———
Plugins—Yes—
MCP server———
CompanyNLogSerilogApache Software Foundation
non-profit
Features
  • many targets: console, file, database and more
  • structured and traditional logging
  • JSON, XML and CSV layouts
  • configuration from NLog.config, appsettings.json or code, changeable at runtime
  • Microsoft.Extensions.Logging and ASP.NET Core integration
  • custom targets and layouts
  • 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
  • appenders for files, sockets, databases, SMTP and more
  • text, XML, JSON and Syslog layouts
  • level and regex filters
  • configuration reloads without losing events
  • runtime configuration without changing the binary