Skip to content
This repository has been archived by the owner on Apr 26, 2023. It is now read-only.

vmware-archive/vmware-eventlog-stream-console

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 

vmware-eventlog-stream-console

A tool, in the form of a NuGet package, that allows streaming of Windows Event Log and application logs to the console.

Overview

Many .NET legacy apps make use of the Windows Event Log for persisting errors and warnings raised at runtime. Until recently, the common wisdom for running code that references the Event Log on Cloud Foundry has been, "don't do it". In other words, refactor all of your calls to EventLog to something more cloudy, like ILogger.Log, or Console.WriteLine. Now we have a third option: just use a shim.

By installing this NuGet 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. As with all shims, this behavior will extend only to your app domain.

This shim leverages the Lib.Harmony NuGet package.

Contributing

The eventlog-stream-console project team welcomes contributions from the community. Before you start working with eventlog-stream-console, please read our Developer Certificate of Origin. All contributions to this repository must be signed as described on that page. Your signature certifies that you wrote the patch or have the right to pass it on as an open-source patch. For more detailed information, refer to CONTRIBUTING.md.

License

eventlog-stream-console is available under the BSD-2 license.

About

This tool, in the form of a NuGet package, will stream your application and windows event logs to the console.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages