- Notifications
You must be signed in to change notification settings - Fork1.4k
Rolf Kristensen edited this pageSep 7, 2024 ·66 revisions
Welcome to the NLog documentation! Just start with one of thetutorials 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, seeHow 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 theTroubleshooting Guide
-Troubleshooting Guide - See available NLog Targets and Layouts:https://nlog-project.org/config
- All targets, layouts and layout renderers
Popular: - Using NLog with NLog.config
- Using NLog with appsettings.json