NLog.Database 5.2.5
NLog Database Target
NLog Database Target can write to any database that has ADO.NET Database Provider. Ex. NS-SQL, MySQL, SqLite, Oracle, etc.
Make sure to also install the nuget-package for the wanted Database Provider, and configure the DbProvider for the Database Target.
See the NLog Wiki for available options and examples.
Register Extension
NLog will only recognize type-alias database
when loading from NLog.config
-file, if having added extension to NLog.config
-file:
<extensions>
<add assembly="NLog.Database"/>
</extensions>
Alternative register from code using fluent configuration API:
LogManager.Setup().SetupExtensions(ext => ext.RegisterTarget<NLog.Targets.DatabaseTarget>());
Showing the top 20 packages that depend on NLog.Database.
Packages | Downloads |
---|---|
learun.utils
力软开发框架util通用方法
|
9 |
learun.utils
力软开发框架util通用方法
|
5 |
learun.utils
力软开发框架util通用方法
|
4 |
learun.utils
力软开发框架util通用方法
|
2 |
learun.utils
力软开发框架util通用方法
|
1 |
Docs:
https://github.com/nlog/NLog/wiki/Database-target
.NET Framework 3.5
- NLog (>= 5.2.5)
.NET Standard 2.0
- NLog (>= 5.2.5)
.NET Standard 1.5
- System.Text.RegularExpressions (>= 4.3.1)
- NETStandard.Library (>= 1.6.0)
- NLog (>= 5.2.5)
- System.Data.Common (>= 4.3.0)
.NET Standard 1.3
- System.Text.RegularExpressions (>= 4.3.1)
- NETStandard.Library (>= 1.6.0)
- NLog (>= 5.2.5)
- System.Data.Common (>= 4.3.0)
.NET Framework 4.6
- NLog (>= 5.2.5)
.NET Framework 4.5
- NLog (>= 5.2.5)
Version | Downloads | Last updated |
---|---|---|
6.0.3 | 2 | 2025/9/17 |
6.0.2 | 1 | 2025/9/17 |
6.0.1 | 1 | 2025/9/17 |
6.0.0 | 2 | 2025/9/17 |
6.0.0-rc4 | 2 | 2025/6/21 |
6.0.0-rc3 | 1 | 2025/6/15 |
6.0.0-rc2 | 5 | 2025/6/4 |
6.0.0-rc1 | 4 | 2025/5/26 |
6.0.0-preview1 | 5 | 2025/5/26 |
5.5.1 | 1 | 2025/9/18 |
5.5.0 | 4 | 2025/6/3 |
5.4.0 | 2 | 2025/6/2 |
5.3.4 | 2 | 2025/6/1 |
5.3.3 | 2 | 2025/6/2 |
5.3.2 | 2 | 2025/6/1 |
5.3.1 | 1 | 2025/6/1 |
5.2.8 | 1 | 2025/6/2 |
5.2.7 | 2 | 2025/6/2 |
5.2.6 | 2 | 2025/6/2 |
5.2.5 | 2 | 2025/6/2 |
5.2.4 | 2 | 2025/6/1 |
5.2.3 | 2 | 2025/6/1 |
5.2.2 | 2 | 2025/6/1 |
5.2.1 | 2 | 2025/6/1 |
5.2.0 | 2 | 2025/6/2 |
5.1.5 | 2 | 2025/6/2 |
5.1.4 | 2 | 2025/6/1 |
5.1.3 | 2 | 2025/6/1 |
5.1.2 | 2 | 2025/6/1 |
5.1.1 | 2 | 2025/6/1 |
5.1.0 | 2 | 2025/6/2 |
5.0.5 | 2 | 2025/6/3 |
5.0.4 | 2 | 2025/6/2 |
5.0.3 | 2 | 2025/6/2 |
5.0.2 | 2 | 2025/6/2 |
5.0.1 | 2 | 2025/6/2 |
5.0.0 | 3 | 2025/6/3 |