diff --git a/README.md b/README.md index bab1ca5..325c261 100644 --- a/README.md +++ b/README.md @@ -10,24 +10,24 @@ Download log4net-loggly package from NuGet. Use the following command. Install-Package log4net-loggly Add the following code in your web.config to configure LogglyAppender in your application +```xml + +
+ + + + + + + + + + + + + + ``` - -
- - - - - - - - - - - - - - -``` To send **GlobalContext** and **LogicalThreadContext** properties in your log you need define the list of used properties in the configuration. For GlobalContext Properties use @@ -120,23 +120,26 @@ dotnet add package log4net-loggly - You should simply add the below configuration code in your App.config file to configure LogglyAppender in your application. Make sure the configSections block is the first element of the configuration in app.config. This is a requirement set by .NET. -``` - -
- - - - - - - - - - - - - - +```xml + + + +
+ + + + + + + + + + + + + + + ``` Note: If you are using Visual Studio 2017 IDE then your application will not be able to read configurations from this App.config file until you do the following-