Baike.dev
All toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< 返回工具列表
N

NLog

> 数据库
开源

NLog - Flexible and Structured Logging for various .NET Platforms

6.5K stars0 点赞0 次浏览
访问官网GitHub

工具介绍

NLog - Flexible and Structured Logging for various .NET Platforms

NLog is a free logging platform for .NET with rich log routing and management capabilities. It makes it easy to produce and manage high-quality logs for your application regardless of its size or complexity.

Handles both structured logging and traditional logging from any .NET language, augment with contextual information, format according to your preference and send them to one or more targets such as file or console.

Major and minor releases will be posted on project news.

Getting started

  • .NET Framework
  • ASP.NET Core
  • .NET Core Console

For the possible options in the config, check the Options list and API Reference

Having troubles? Check the troubleshooting guide


ℹ️ NLog 6.0 supports AOT

NLog 6.0 now available. See also List of major changes in NLog 6.0

NLog Extensions

The NLog-nuget-package provides everything needed for doing file- and console-logging. If you need other output options, then there are many NLog extension packages available (such as database, email, https-endpoint, etc.). See targets and layout renderers overview!

The NLog extension packages maintained by the NLog-project are listed here with Nuget/build status.

It is also possible to Create your own custom NLog extensions.

Questions, bug reports or feature requests?

If having issues with getting NLog working? Then please check the troubleshooting guide before asking! This will often provide you with clear error message when asking, so it is easier to solve the issue!

If having questions about how to configure NLog correctly? Then please post questions on StackOverflow (using the nlog tag)

Have you found a bug or issue with NLog functionality? Please post them on the issue list and follow these guidelines.

Frequently Asked Questions (FAQ)

See FAQ on the Wiki

License

NLog is open source software, licensed under the terms of BSD license. See LICENSE.txt for details.

GitHub Issues· 0 开放

在 GitHub 查看全部

暂无开放 Issues,或尚未同步最近议题。

核心特点

  • •.NET Framework
  • •ASP.NET Core
  • •.NET Core Console

> 标签

C#aotaot-compatiblec-sharpcross-platform

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类数据库
定价开源

> 相关工具

P
PostgreSQL
功能强大的开源关系型数据库
R
Redis
内存数据结构存储,常用作缓存与队列
M
MySQL
广泛使用的开源关系型数据库