NLog is a flexible and free logging platform for various .NET platforms, including .NET standard. NLog makes it easy to write to several targets. (database, file, console) and change the logging configuration on-the-fly. NLog has support for structured and traditional logging. The focus for NLog is high performance, easy-to-use, easy to extend and flexible to configure. NLog is very easy to configure, both through configuration file and programmatically. Even without restarting the application, the configuration can be changed. Every log message can be templated with various layout renders. Even though NLog has targets and pre-defined layouts, you can write custom targets or pass custom values. Fully support for structured logging. Targets are used to display, store or pass log messages to another destination. NLog can dynamically write to one of multiple targets for each log message.

Features

  • NLog has support for structured and traditional logging
  • Write logs to any number of files, with automatic file naming and archival
  • Write to event log local or remote
  • Store your logs in databases supported by .NET
  • Write log messages to the ASP.NET Core Logging
  • Write real-time to the command-line console including color coding of messages

Project Samples

Project Activity

See All Activity >

Categories

Logging

License

BSD License

Follow NLog

NLog Web Site

Other Useful Business Software
Full-stack observability with actually useful AI | Grafana Cloud Icon
Full-stack observability with actually useful AI | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of NLog!

Additional Project Details

Operating Systems

Android, Apple iPhone, Windows

Programming Language

C#

Related Categories

C# Logging Software

Registered

2021-10-27