VMware.EventLog.Stream.Console
1.0.1
dotnet add package VMware.EventLog.Stream.Console --version 1.0.1
NuGet\Install-Package VMware.EventLog.Stream.Console -Version 1.0.1
<PackageReference Include="VMware.EventLog.Stream.Console" Version="1.0.1" />
<PackageVersion Include="VMware.EventLog.Stream.Console" Version="1.0.1" />
<PackageReference Include="VMware.EventLog.Stream.Console" />
paket add VMware.EventLog.Stream.Console --version 1.0.1
#r "nuget: VMware.EventLog.Stream.Console, 1.0.1"
#:package VMware.EventLog.Stream.Console@1.0.1
#addin nuget:?package=VMware.EventLog.Stream.Console&version=1.0.1
#tool nuget:?package=VMware.EventLog.Stream.Console&version=1.0.1
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.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net40 is compatible. net403 was computed. net45 was computed. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
-
- Lib.Harmony (>= 1.2.0.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last Updated |
---|---|---|
1.0.1 | 1,202 | 4/20/2020 |