Serilog.Sinks.EventLog
4.0.0-dev-00079
Prefix Reserved
See the version list below for details.
dotnet add package Serilog.Sinks.EventLog --version 4.0.0-dev-00079
NuGet\Install-Package Serilog.Sinks.EventLog -Version 4.0.0-dev-00079
<PackageReference Include="Serilog.Sinks.EventLog" Version="4.0.0-dev-00079" />
<PackageVersion Include="Serilog.Sinks.EventLog" Version="4.0.0-dev-00079" />
<PackageReference Include="Serilog.Sinks.EventLog" />
paket add Serilog.Sinks.EventLog --version 4.0.0-dev-00079
#r "nuget: Serilog.Sinks.EventLog, 4.0.0-dev-00079"
#:package Serilog.Sinks.EventLog@4.0.0-dev-00079
#addin nuget:?package=Serilog.Sinks.EventLog&version=4.0.0-dev-00079&prerelease
#tool nuget:?package=Serilog.Sinks.EventLog&version=4.0.0-dev-00079&prerelease
Serilog.Sinks.EventLog
A Serilog sink that writes events to the Windows Event Log.
Important: version 3.0 of this sink changed the default value of manageEventSource
from true
to false
. Applications that run with administrative privileges, and that can therefore create event sources on-the-fly, can opt in by providing manageEventSource: true
as a configuration option.
Getting started
First, install the package from NuGet:
dotnet add package Serilog.Sinks.EventLog
The sink is configured by calling WriteTo.EventLog()
on the LoggerConfiguration
:
Log.Logger = new LoggerConfiguration()
.WriteTo.EventLog("Sample App", manageEventSource: true)
.CreateLogger();
Log.Information("Hello, Windows Event Log!");
Log.CloseAndFlush();
Events will appear under the Application log with the specified source name:
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 is compatible. 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 is compatible. 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 is compatible. net463 was computed. net47 was computed. net471 is compatible. 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. |
-
.NETFramework 4.6.2
- Serilog (>= 4.0.0)
-
.NETFramework 4.7.1
- Serilog (>= 4.0.0)
-
.NETStandard 2.0
- Serilog (>= 4.0.0)
- System.Diagnostics.EventLog (>= 8.0.0)
-
net6.0
- Serilog (>= 4.0.0)
- System.Diagnostics.EventLog (>= 8.0.0)
-
net8.0
- Serilog (>= 4.0.0)
- System.Diagnostics.EventLog (>= 8.0.0)
NuGet packages (33)
Showing the top 5 NuGet packages that depend on Serilog.Sinks.EventLog:
Package | Downloads |
---|---|
Epsagon.Dotnet.Core
Package Description |
|
BlackMaple.MachineFramework
FMS Insight is a client and server which runs on an flexible machining system (FMS) cell controller. It provides a server which stores a log of all events and stores a log of planned jobs, a server which translates incomming planned jobs into jobs in the cell controller, a REST-like HTTP API which allows other programs to view the events and create planned jobs, and an HTML client which displays a dashboard, station monitor, and data analysis based on the log of events, planned jobs, and current cell status. |
|
OptimaJet.Logging
Base logger for the WorkflowServer and DWKit. |
|
PS.Common.Foundation.Package
PS.Common.Foundation.Package.Nuget Description |
|
Autoware.Util
Pacote que contempla funções utils. |
GitHub repositories (8)
Showing the top 8 popular GitHub repositories that depend on Serilog.Sinks.EventLog:
Repository | Stars |
---|---|
win-acme/win-acme
A simple ACME client for Windows (for use with Let's Encrypt et al.)
|
|
rnwood/smtp4dev
smtp4dev - the fake smtp email server for development and testing
|
|
DaxStudio/DaxStudio
DAX Studio is a tool to write, execute, and analyze DAX queries in Power BI Desktop, Power Pivot for Excel, and Analysis Services Tabular.
|
|
Jorixon/JASM
Just Another Skin Manager
|
|
dragonfruitnetwork/onionfruit
OnionFruit™ - Connect to the Tor network with minimal effort
|
|
simple-acme/simple-acme
A simple cross platform ACME client (for use with Let's Encrypt et al.)
|
|
container-desktop/container-desktop
Provides an alternative for Docker for Desktop on Windows using WSL2.
|
|
newrelic/newrelic-dotnet-agent
The New Relic .NET language agent.
|
Version | Downloads | Last Updated |
---|---|---|
5.0.0-dev-00091 | 3,278 | 1/27/2025 |
4.0.1-dev-00087 | 12,156 | 6/23/2024 |
4.0.0 | 1,885,162 | 6/14/2024 |
4.0.0-dev-00079 | 573 | 6/9/2024 |
4.0.0-dev-00077 | 539 | 6/9/2024 |
3.1.0 | 8,730,758 | 6/15/2018 |
3.1.0-dev-00060 | 2,564 | 6/12/2018 |
3.1.0-dev-00056 | 12,218 | 1/23/2018 |
3.1.0-dev-00049 | 2,516 | 11/23/2017 |
3.0.47 | 701,599 | 11/23/2017 |
3.0.37-dev-00048 | 2,339 | 11/23/2017 |
3.0.37-dev-00043 | 2,972 | 5/14/2017 |
3.0.37-dev-00040 | 2,954 | 2/13/2017 |
3.0.37-dev-00038 | 3,005 | 10/14/2016 |
3.0.36 | 281,826 | 9/21/2016 |
2.1.30 | 24,666 | 8/23/2016 |
2.0.22 | 15,137 | 8/12/2016 |
2.0.21 | 14,212 | 8/12/2016 |
2.0.13 | 33,184 | 7/12/2016 |
1.5.11 | 108,872 | 6/15/2015 |
1.5.8 | 15,406 | 5/28/2015 |
1.5.4 | 19,005 | 4/2/2015 |
1.5.3 | 14,418 | 4/1/2015 |
1.5.2 | 14,320 | 3/30/2015 |
1.5.1 | 14,551 | 3/27/2015 |
1.4.196 | 18,295 | 2/22/2015 |
1.4.182 | 14,779 | 2/15/2015 |
1.4.168 | 14,648 | 2/8/2015 |
1.4.155 | 14,476 | 2/1/2015 |
1.4.139 | 14,775 | 1/23/2015 |
1.4.118 | 14,507 | 1/13/2015 |
1.4.113 | 17,021 | 1/6/2015 |
1.4.102 | 14,836 | 12/21/2014 |
1.4.99 | 14,749 | 12/18/2014 |
1.4.97 | 14,617 | 12/18/2014 |
1.4.76 | 14,711 | 12/8/2014 |
1.4.39 | 14,517 | 11/26/2014 |
1.4.34 | 14,437 | 11/24/2014 |
1.4.28 | 14,431 | 11/24/2014 |
1.4.27 | 14,489 | 11/23/2014 |
1.4.23 | 14,545 | 11/21/2014 |
1.4.22 | 14,455 | 11/21/2014 |
1.4.21 | 14,449 | 11/21/2014 |
1.4.18 | 14,763 | 11/18/2014 |
1.4.15 | 15,758 | 11/4/2014 |
1.4.14 | 14,801 | 10/23/2014 |
1.4.13 | 14,327 | 10/23/2014 |
1.4.12 | 14,523 | 10/12/2014 |
1.4.11 | 14,286 | 10/8/2014 |
1.4.10 | 14,459 | 9/26/2014 |
1.4.9 | 14,377 | 9/17/2014 |
1.4.8 | 14,363 | 9/11/2014 |
1.4.7 | 14,396 | 9/1/2014 |
1.4.6 | 14,353 | 8/31/2014 |
1.4.5 | 14,349 | 8/27/2014 |
1.4.4 | 14,295 | 8/27/2014 |
1.4.3 | 14,336 | 8/25/2014 |
1.4.2 | 14,384 | 8/23/2014 |
1.4.1 | 14,354 | 8/23/2014 |
1.3.43 | 14,451 | 8/4/2014 |
1.3.42 | 14,282 | 7/30/2014 |
1.3.41 | 14,381 | 7/28/2014 |
1.3.40 | 14,298 | 7/26/2014 |
1.3.39 | 14,238 | 7/25/2014 |
1.3.37 | 14,241 | 7/25/2014 |
1.3.36 | 14,358 | 7/20/2014 |
1.3.35 | 14,299 | 7/17/2014 |
1.3.34 | 14,421 | 7/6/2014 |
1.3.33 | 14,408 | 6/30/2014 |
1.3.30 | 14,401 | 6/19/2014 |
1.3.29 | 14,393 | 6/19/2014 |
1.3.28 | 14,306 | 6/19/2014 |
1.3.27 | 14,287 | 6/18/2014 |
1.3.26 | 14,363 | 6/18/2014 |
1.3.25 | 14,641 | 6/9/2014 |
1.3.24 | 14,450 | 5/21/2014 |
1.3.23 | 14,360 | 5/20/2014 |
1.3.20 | 14,364 | 5/18/2014 |
1.3.19 | 14,290 | 5/17/2014 |
1.3.18 | 14,313 | 5/17/2014 |
1.3.17 | 14,366 | 5/17/2014 |
1.3.16 | 14,306 | 5/17/2014 |
1.3.15 | 14,398 | 5/16/2014 |
1.3.14 | 14,422 | 5/16/2014 |
1.3.13 | 14,336 | 5/16/2014 |
1.3.12 | 14,308 | 5/14/2014 |
1.3.7 | 14,355 | 5/11/2014 |
1.3.6 | 14,345 | 5/9/2014 |
1.3.5 | 14,397 | 5/6/2014 |
1.3.4 | 14,371 | 5/4/2014 |
1.3.3 | 14,477 | 4/28/2014 |
1.3.1 | 14,328 | 4/26/2014 |
1.2.53 | 14,507 | 4/26/2014 |
1.2.52 | 14,618 | 4/24/2014 |
1.2.51 | 14,611 | 4/18/2014 |
1.2.50 | 14,531 | 4/18/2014 |
1.2.49 | 14,587 | 4/17/2014 |
1.2.48 | 14,514 | 4/14/2014 |
1.2.47 | 14,571 | 4/14/2014 |
1.2.45 | 14,440 | 4/13/2014 |
1.2.44 | 14,528 | 4/9/2014 |
1.2.41 | 14,465 | 4/7/2014 |
1.2.40 | 14,400 | 4/7/2014 |
1.2.39 | 14,430 | 3/29/2014 |
1.2.37 | 14,435 | 3/29/2014 |
1.2.29 | 14,457 | 3/16/2014 |
1.2.27 | 14,385 | 3/14/2014 |
1.2.26 | 14,396 | 3/12/2014 |
1.2.25 | 19,618 | 2/20/2014 |