Nodinite.LogAgent.Log4NetAppender
6.0.6
See the version list below for details.
dotnet add package Nodinite.LogAgent.Log4NetAppender --version 6.0.6
NuGet\Install-Package Nodinite.LogAgent.Log4NetAppender -Version 6.0.6
<PackageReference Include="Nodinite.LogAgent.Log4NetAppender" Version="6.0.6" />
paket add Nodinite.LogAgent.Log4NetAppender --version 6.0.6
#r "nuget: Nodinite.LogAgent.Log4NetAppender, 6.0.6"
// 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
- 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>
- 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 | Versions 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. |
-
.NETStandard 2.0
- IBSS.Libraries.Contracts.LogRestApi (>= 6.1.1)
- log4net (>= 2.0.17)
- System.Net.Http.Json (>= 8.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.