log4net.jt
2.0.8.21
See the version list below for details.
Requires NuGet 2.12 or higher.
dotnet add package log4net.jt --version 2.0.8.21
NuGet\Install-Package log4net.jt -Version 2.0.8.21
<PackageReference Include="log4net.jt" Version="2.0.8.21" />
paket add log4net.jt --version 2.0.8.21
#r "nuget: log4net.jt, 2.0.8.21"
// Install log4net.jt as a Cake Addin #addin nuget:?package=log4net.jt&version=2.0.8.21 // Install log4net.jt as a Cake Tool #tool nuget:?package=log4net.jt&version=2.0.8.21
----------------------------------
log4net 的扩展,支持mongodb(>=net4.0),Elasticsearch(>=net4.5),支持自定义文件名
----------------------------------
应用说明详见:您本地nuget包中
packages\..\lib\net45使用说明.docx
packages\..\lib\netcore使用说明.docx
----------------------------------
应用实例:
string FilePath = System.AppContext.BaseDirectory + "\\文件夹a\\自定义文件.txt";
log.Info("日志1");
log.File(FilePath).Info("日志2");
log.File(FilePath).Method("方法名3").InfoFormat("日志3");
log.Method("方法名4").Info("日志4");
log.Info("日志5");
----------------------------------
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.6 is compatible. netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net20 is compatible. net35 was computed. net40 is compatible. net403 was computed. net45 is compatible. net451 was computed. net452 was computed. 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. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETFramework 2.0
- No dependencies.
-
.NETFramework 4.0
- No dependencies.
-
.NETFramework 4.5
- No dependencies.
-
.NETStandard 1.6
- Autofac (>= 4.8.1)
- Microsoft.AspNetCore (>= 1.1.2)
- MongoDB.Driver (>= 2.7.2)
- NEST (>= 6.2.0)
- System.Data.Common (>= 4.3.0)
- System.Net.Requests (>= 4.0.11)
-
.NETStandard 2.0
- Autofac (>= 4.8.1)
- Microsoft.AspNetCore (>= 2.0.0)
- MongoDB.Driver (>= 2.7.2)
- NEST (>= 6.2.0)
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 |
---|---|---|
2.0.8.32 | 1,108 | 2/24/2023 |
2.0.8.31 | 1,169 | 2/23/2023 |
2.0.8.30 | 1,333 | 9/28/2022 |
2.0.8.29 | 1,216 | 11/12/2021 |
2.0.8.28 | 1,516 | 12/13/2019 |
2.0.8.27 | 1,461 | 12/5/2019 |
2.0.8.26 | 1,424 | 12/4/2019 |
2.0.8.25 | 1,478 | 12/4/2019 |
2.0.8.24 | 1,332 | 11/28/2019 |
2.0.8.23 | 1,481 | 11/26/2019 |
2.0.8.22 | 1,335 | 11/19/2019 |
2.0.8.21 | 1,535 | 11/18/2019 |
2.0.8.20 | 1,582 | 11/4/2019 |
2.0.8.19 | 1,456 | 10/10/2019 |
2.0.8.18 | 1,553 | 10/9/2019 |
2.0.8.17 | 1,480 | 10/8/2019 |
2.0.8.16 | 1,438 | 10/3/2019 |
2.0.8.15 | 1,304 | 10/3/2019 |
2.0.8.14 | 1,375 | 10/2/2019 |
2.0.8.13 | 1,331 | 10/2/2019 |
2.0.8.12 | 1,255 | 10/2/2019 |
2.0.8.11 | 2,492 | 9/30/2019 |
2.0.8 | 2,326 | 9/30/2019 |