ApplicationLogging provides simple interfaces and classes to allow logging from a client application. The included interface IApplicationLogger can be injected into client classes, and exposes simple methods for capturing detailed logging information from these client classes. ApplicationLogging includes implementations of IApplicationLogger which allow logging to a file or the console. The ApplicationLogging.Adapters project additionally includes an adapter class to route ApplicationLogging log events to an instance of the log4net ILog interface.
The project was originally released as part of my MethodInvocationRemoting project, but has been released here as a separate project to allow it to be referenced/used in other projects.
A detailed sample implementation and use case...
- After opening the solution in Visual Studio, the referenced NuGet packages should be restored using the 'Restore' button in the 'Manage NuGet Packages' window.