VMware.EventLog.Stream.Console NuGet Package

Many .NET legacy apps make use of the Windows Event Log for persisting errors and warnings raised at runtime.

There are different options for externalizing these logs on the cloud. One option is to refactor all calls to ILogger.Log or Console.WriteLine while another option is to use Microsoft's log montior (https://github.com/microsoft/windows-container-tools/tree/master/LogMonitor).

This NuGet package offers an additional option which is code-free and minimally invasive.

By installing this package to an ASP Framework 4.x app, all calls to the System.Diagnostics.EventLog.WriteEvent and System.Diagnostics.EventLog.WriteEntry static methods will instead write to console. This behavior will extend only to your app domain.

The VMware.EventLog.Stream.Console NuGet package leverages the Lib.Harmony NuGet package.




Got any VMware.EventLog.Stream.Console Question?





Info

Version: 1.0.1
Author(s): VMware
Last Update: Monday, April 20, 2020
.NET Fiddle: Create the first Fiddle
Project Url: https://github.com/vmware/vmware-eventlog-stream-console
NuGet Url: https://www.nuget.org/packages/VMware.EventLog.Stream.Console


Install
Install-Package VMware.EventLog.Stream.Console
dotnet add package VMware.EventLog.Stream.Console
paket add VMware.EventLog.Stream.Console
VMware.EventLog.Stream.Console Download (Unzip the "nupkg" after downloading)





STATS

must-have-score

.3

avg-downloads-per-day

0

days-since-last-release

1676