Nodinite.LogAgent.Log4NetAppender 6.0.6

dotnet add package Nodinite.LogAgent.Log4NetAppender --version 6.0.6
NuGet\Install-Package Nodinite.LogAgent.Log4NetAppender -Version 6.0.6
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Nodinite.LogAgent.Log4NetAppender" Version="6.0.6" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Nodinite.LogAgent.Log4NetAppender --version 6.0.6
#r "nuget: Nodinite.LogAgent.Log4NetAppender, 6.0.6"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Nodinite.LogAgent.Log4NetAppender as a Cake Addin
#addin nuget:?package=Nodinite.LogAgent.Log4NetAppender&version=6.0.6

// Install Nodinite.LogAgent.Log4NetAppender as a Cake Tool
#tool nuget:?package=Nodinite.LogAgent.Log4NetAppender&version=6.0.6

Nodinite.LogAgent.Log4NetAppender

Nodinite.LogAgent.Log4NetAppender is a custom adapter for log4net designed to send logging events to Nodinite. Unlike the default log4net appenders that write logs to a file, database, or other conventional destinations, this adapter forwards the log events to your Nodinite customized LogView.

Features

  • Real-time logging: Events are sent to Nodinite as they occur.
  • Seamless Integration: Works well with existing log4net configurations.
  • Customizable: Supports additional custom fields to send along with the log events (CONTEXT PROPERTIES).

Documentation

Documentation for Nodinite.LogAgent.Log4NetAppender can be found here.

Prerequisites

  • We recommended NET Framework 4.8.1 or higher, or a supported version of .NET

Configuration

  1. log4net.config

Add the following lines to your log4net.config

<log4net>
	<appender name="Log4NetAppender" type="Nodinite.LogAgent.Log4NetAppender.NodiniteLog4NetAppender,Nodinite.LogAgent.Log4NetAppender">
		<OriginalMessageType value="Nodinite.LogAgent.Log4NetAppender/2.0#DefaultMessageType" />
		<MessageTypeExtractFromBody value="false" />
		<LogAgentID value="101"/>
		<EventNumber value="0"/>
		<EndPointName value="Log4Net Unit Test"/>
		<EndPointUri value="VS.local.log4net.test"/>		
		<ProcessingUser value="Administrator"/>
		<ModuleType value="unit test"/>
		<ProcessName value="unit test"/>
		<ProcessingMachineName value="DEV"/>
		<ProcessingModuleType value="unit test"/>
		<ProcessingModuleName value="VS"/>
		<LogApiServiceURI value="http://localhost/Nodinite/Dev/logapi"/>
		<ApplicationInterchangeId value="{99106FF5-C7BB-4244-9EB7-F99040190F32}"/>
		<LocalInterchangeId value="{E4CDDF18-9925-4A79-8E9F-71BC0D4C5172}"/>
		<ServiceInstanceActivityId value="{E4CDDF18-9925-4A79-8E9F-71BC0D4C5173}"/>
	</appender>
	<root>
		<level value="DEBUG"/>
		<appender-ref ref="Log4NetAppender"/>
	</root>
</log4net>
  1. Make sure to change the address to the Log API to match your configuration
<LogApiServiceURI value="http://localhost/Nodinite/Dev/logapi"/>

Support

For bugs, feature requests, or other concerns, please contact us at support@nodinite.com.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
6.0.6 79 4/10/2024
6.0.5 86 3/13/2024
6.0.4 72 2/14/2024
6.0.3 127 1/10/2024
6.0.2 157 11/15/2023
6.0.0 84 11/7/2023
5.0.2 97 11/6/2023
5.0.1 90 11/6/2023
5.0.0 104 11/2/2023