NLog.WindowsEventLog
5.2.5
Prefix Reserved
See the version list below for details.
dotnet add package NLog.WindowsEventLog --version 5.2.5
NuGet\Install-Package NLog.WindowsEventLog -Version 5.2.5
<PackageReference Include="NLog.WindowsEventLog" Version="5.2.5" />
<PackageVersion Include="NLog.WindowsEventLog" Version="5.2.5" />
<PackageReference Include="NLog.WindowsEventLog" />
paket add NLog.WindowsEventLog --version 5.2.5
#r "nuget: NLog.WindowsEventLog, 5.2.5"
#:package NLog.WindowsEventLog@5.2.5
#addin nuget:?package=NLog.WindowsEventLog&version=5.2.5
#tool nuget:?package=NLog.WindowsEventLog&version=5.2.5
NLog EventLog Target
NLog EventLog Target writes to the Windows EventLog.
See the NLog Wiki for available options and examples.
Register Extension
NLog will only recognize type-alias eventlog when loading from NLog.config-file, if having added extension to NLog.config-file:
<extensions>
<add assembly="NLog.WindowsEventLog"/>
</extensions>
Alternative register from code using fluent configuration API:
LogManager.Setup().SetupExtensions(ext => ext.RegisterTarget<NLog.Targets.EventLogTarget>());
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- NLog (>= 5.2.5)
- System.Diagnostics.EventLog (>= 4.5.0)
NuGet packages (7)
Showing the top 5 NuGet packages that depend on NLog.WindowsEventLog:
| Package | Downloads |
|---|---|
|
BCXZone_Shared
Package Description |
|
|
FlashLog
Global aspect logger, log by attribute only and keep your code clean |
|
|
Nep.Enterprise.NCoreStndrd.Logger
NUS library to log messages from >net 6+ apps; leverages NLog |
|
|
Gyldendal.LoggingManager
Package Description |
|
|
Gyldendal.LoggingManagerTest
Package Description |
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on NLog.WindowsEventLog:
| Repository | Stars |
|---|---|
|
pdfforge/PDFCreator
PDFCreator - The free PDF Converter
|
| Version | Downloads | Last Updated |
|---|---|---|
| 6.0.7 | 2,295 | 12/9/2025 |
| 6.0.6 | 5,900 | 11/9/2025 |
| 6.0.5 | 9,495 | 10/9/2025 |
| 6.0.4 | 5,232 | 9/11/2025 |
| 6.0.3 | 15,988 | 8/10/2025 |
| 6.0.2 | 4,871 | 7/20/2025 |
| 6.0.1 | 6,099 | 6/27/2025 |
| 6.0.0 | 5,152 | 6/21/2025 |
| 5.5.1 | 5,631 | 7/18/2025 |
| 5.5.0 | 20,668 | 5/29/2025 |
| 5.4.0 | 238,485 | 2/2/2025 |
| 5.3.4 | 787,572 | 9/12/2024 |
| 5.3.3 | 176,481 | 8/12/2024 |
| 5.3.2 | 106,225 | 4/30/2024 |
| 5.3.1 | 3,267 | 4/27/2024 |
| 5.2.8 | 212,487 | 12/29/2023 |
| 5.2.7 | 22,212 | 11/28/2023 |
| 5.2.6 | 12,357 | 11/19/2023 |
| 5.2.5 | 105,466 | 10/15/2023 |
| 5.2.4 | 274,861 | 9/6/2023 |
| 5.2.3 | 55,782 | 8/5/2023 |
| 5.2.2 | 17,212 | 7/4/2023 |
| 5.2.1 | 1,025 | 7/1/2023 |
| 5.2.0 | 50,773 | 5/30/2023 |
| 5.1.5 | 2,555 | 5/25/2023 |
| 5.1.4 | 25,120 | 4/29/2023 |
| 5.1.3 | 76,872 | 3/28/2023 |
| 5.1.2 | 32,094 | 2/17/2023 |
| 5.1.1 | 172,553 | 12/29/2022 |
| 5.1.0 | 23,782 | 11/27/2022 |
| 5.0.5 | 132,644 | 10/25/2022 |
| 5.0.4 | 493,209 | 9/1/2022 |
| 5.0.3 | 3,794 | 8/31/2022 |
| 5.0.2 | 43,692 | 8/12/2022 |
| 5.0.1 | 136,328 | 6/12/2022 |
| 5.0.0 | 394,800 | 5/16/2022 |
| 4.7.15 | 127,047 | 3/26/2022 |
| 4.7.14 | 30,926 | 2/23/2022 |
| 4.7.13 | 295,463 | 12/5/2021 |
| 4.7.12 | 23,986 | 10/24/2021 |
| 4.7.11 | 90,323 | 8/18/2021 |
| 4.7.10 | 211,625 | 5/14/2021 |
| 4.7.9 | 30,761 | 3/24/2021 |
| 4.7.8 | 10,389 | 2/25/2021 |
| 4.7.7 | 150,942 | 1/20/2021 |
| 4.7.6 | 132,733 | 12/6/2020 |
| 4.7.5 | 150,590 | 9/27/2020 |
| 4.7.4 | 75,569 | 8/22/2020 |
| 4.7.3 | 25,476 | 7/31/2020 |
| 4.7.2 | 62,286 | 5/18/2020 |
| 4.7.1 | 1,530 | 5/15/2020 |
| 4.7.0 | 104,631 | 3/20/2020 |
| 4.6.8 | 330,654 | 11/4/2019 |
| 4.6.7 | 40,408 | 8/25/2019 |
| 4.6.6 | 99,445 | 7/14/2019 |
| 4.6.5 | 45,671 | 6/14/2019 |
| 4.6.4 | 7,014 | 5/28/2019 |
| 4.6.3 | 8,656 | 4/30/2019 |
| 4.6.2 | 3,389 | 4/2/2019 |
| 4.6.1 | 1,102 | 3/29/2019 |
| 4.6.0 | 2,123 | 3/21/2019 |
| 4.5.11 | 213,164 | 11/6/2018 |
| 4.5.10 | 21,946 | 9/17/2018 |
| 4.5.9 | 7,999 | 8/24/2018 |
| 4.5.8 | 18,851 | 8/5/2018 |
| 4.5.6 | 10,658 | 5/29/2018 |