log4net.Ext.Json
2.0.8.3
See the version list below for details.
dotnet add package log4net.Ext.Json --version 2.0.8.3
NuGet\Install-Package log4net.Ext.Json -Version 2.0.8.3
<PackageReference Include="log4net.Ext.Json" Version="2.0.8.3" />
paket add log4net.Ext.Json --version 2.0.8.3
#r "nuget: log4net.Ext.Json, 2.0.8.3"
// Install log4net.Ext.Json as a Cake Addin #addin nuget:?package=log4net.Ext.Json&version=2.0.8.3 // Install log4net.Ext.Json as a Cake Tool #tool nuget:?package=log4net.Ext.Json&version=2.0.8.3
log4net.Ext.Json
Enable JSON logging in log4net
Extend log4net with simple configuration options to create JSON log entries. Pass semantic information to downstream utilities, such as nxlog, LogStash, GrayLogs2 and similar. Ideally, this will be integrated in log4net: https://issues.apache.org/jira/browse/LOG4NET-419 Events can be uniquely stamped and a keep alive appender can assure that your logging path is functional at all times.
Features
- JSON logging
- Simple set up
- Easy configuration
- Seamless integration
- Uniquely stamped events
- Keep-alive appender to keep the log rolling even with minimal activity
First steps
- Install the latest nuget package of log4net.Ext.Json.
- Configure log4net
- Use the
log4net.Layout.SerializedLayout, log4net.Ext.Json
as your appender's layout - Log as you normally would
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 | netcoreapp1.0 was computed. netcoreapp1.1 was computed. netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard1.3 is compatible. netstandard1.4 was computed. netstandard1.5 was computed. netstandard1.6 was computed. netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net20 is compatible. net35 is compatible. net40 is compatible. net403 was computed. net45 was computed. net451 was computed. net452 is compatible. net46 was computed. 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 | tizen30 was computed. tizen40 was computed. tizen60 was computed. |
Universal Windows Platform | uap was computed. uap10.0 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETFramework 2.0
- log4net (>= 2.0.8)
-
.NETFramework 3.5
- log4net (>= 2.0.8)
-
.NETFramework 4.0
- log4net (>= 2.0.8)
-
.NETFramework 4.5.2
- log4net (>= 2.0.8)
-
.NETStandard 1.3
- log4net (>= 2.0.8)
- NETStandard.Library (>= 1.6.1)
- System.Data.Common (>= 4.3.0)
- System.Runtime.Extensions (>= 4.3.0)
-
.NETStandard 2.0
- log4net (>= 2.0.8)
NuGet packages (6)
Showing the top 5 NuGet packages that depend on log4net.Ext.Json:
Package | Downloads |
---|---|
log4net.Ext.Json.Net
Use Newtonsoft.Json (Json.NET) as a serializer. |
|
Coveo.Connectors.Utilities.PlatformSdk
The offical Coveo C# SDK allows your software to communicate with the Coveo Cloud Platform public APIs and the Push API. |
|
log4net.Ext.Json.Serializers
Serializer(s) meant to be used in conjunction w/ the log4net.Ext.Json library. |
|
GeneXus.OpenTelemetry.Azure.AppInsights
Package Description |
|
Sprout.Log
log4net 日志封装,输出json格式文件,方便elk采集. 源码:https://gitee.com/bi_miaomiao/Sprout.Log.git 示例中有引入autowired.core类库, 模仿spring boot 属性注入,简单便捷省事. |
GitHub repositories (2)
Showing the top 2 popular GitHub repositories that depend on log4net.Ext.Json:
Repository | Stars |
---|---|
CodeMazeBlog/CodeMazeGuides
The main repository for all the Code Maze guides
|
|
DataDog/dd-trace-dotnet
.NET Client Library for Datadog APM
|
Version | Downloads | Last updated |
---|---|---|
2.0.10.1 | 5,949,505 | 8/9/2021 |
2.0.10.1-develop350498314 | 421 | 8/9/2021 |
2.0.10.1-develop1390414188 | 63 | 7/27/2024 |
2.0.10.1-develop1390411247 | 65 | 7/27/2024 |
2.0.9.1 | 495,659 | 3/11/2021 |
2.0.9.1-rc1 | 568 | 2/21/2021 |
2.0.9.1-develop346781266 | 310 | 8/2/2021 |
2.0.9.1-develop269223442 | 357 | 3/11/2021 |
2.0.9.1-develop | 186 | 2/27/2021 |
2.0.9.1-ci262821899 | 341 | 2/27/2021 |
2.0.9.1-ci262811511 | 308 | 2/27/2021 |
2.0.8.3 | 3,087,517 | 5/17/2018 |
2.0.8.3-test2 | 387 | 2/11/2021 |
2.0.8.3-ci23366355 | 908 | 6/6/2018 |
2.0.8.3-ci23364087 | 961 | 6/6/2018 |
2.0.8.2 | 359,570 | 4/29/2018 |
2.0.8.1 | 617,904 | 4/28/2018 |
1.2.15.14586 | 346,469 | 3/23/2016 |