Tim Harrison (Tim)
Published on 01/07/2020
- Abstract
-
Tutorial and resources for configuring Log4Net logging within an application.
-
Resource and a Tutorial for setting up Log4Net logging services within your application.
It covers configuration for console application and MVC5 application, using the lnet framwork.
Sample project
Tutorial project is Visual Studio 2017\Repos\Log4NetTutorial
Reference Schema directly
How to reference the schema directly and get the Intellisense within Visual Studio, can be found on this link by Andy French.
Adding the Log4Net schema for VS Intellisense
- Download the schema from http://csharptest.net/downloads/schema/log4net.xsd, as log4net.xsd.
- Save it to the following location: C:\Program Files (X86)\Microsoft Visual Studio\2017\Community\xml\Schemas
- In VS, select XML, Schemas and Add the file to the schema list.
This provides the Intellisense to Visual Studio
- References
- Tags