-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Home
Rolf Kristensen edited this page Sep 7, 2024
·
66 revisions
Welcome to the NLog documentation! Just start with one of the tutorials to log messages within minutes!
NLog supports the .NET Frameworks 3.5 - 4.8 along with ASP.NET Core using Microsoft dependency injection. See the getting started pages.
For structured logging, introduced in NLog 4.5, see How to use structured logging
There are many available output options:
- NLog Targets - Output destinations
- NLog Layout-Renderers - Output details
- NLog Layouts - Output formats
Are you missing some targets or layouts in NLog? Check extending NLog or even better, contribute to NLog!
Issues with logging? Check the Troubleshooting Guide
- Troubleshooting Guide - See available NLog Targets and Layouts: https://nlog-project.org/config
- Getting started
- How to use structured logging
- Troubleshooting
- FAQ
- Articles about NLog
-
All targets, layouts and layout renderers
Popular: - Using NLog with NLog.config
- Using NLog with appsettings.json