JCoder.Log4Net
2.7.1
.NET 6.0
This package targets .NET 6.0. The package is compatible with this framework or higher.
.NET Standard 2.1
This package targets .NET Standard 2.1. The package is compatible with this framework or higher.
.NET Framework 4.7.2
This package targets .NET Framework 4.7.2. The package is compatible with this framework or higher.
dotnet add package JCoder.Log4Net --version 2.7.1
NuGet\Install-Package JCoder.Log4Net -Version 2.7.1
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="JCoder.Log4Net" Version="2.7.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add JCoder.Log4Net --version 2.7.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: JCoder.Log4Net, 2.7.1"
#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 JCoder.Log4Net as a Cake Addin #addin nuget:?package=JCoder.Log4Net&version=2.7.1 // Install JCoder.Log4Net as a Cake Tool #tool nuget:?package=JCoder.Log4Net&version=2.7.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
JCore.Log4Net
| 属性 | | | --------------- | -------------------------------------------- | | 作者(Authors) | Jackie Law | | 版权(Copyright) | Copyright © Jackie Law. All rights reserved. | | 协议 | MIT | | 联系(QQ) | 1378071853 | | 联系(Wechat) | JackieLaw1024 | | 联系(Email) | JackieLaw-dev@outlook.com |
目录
[TOC]
一.架构说明
JCore.Log4Net | |
---|---|
语言 | C# |
协议 | MIT |
.Net框架 | .Net Standard2.1; .Net Framework 4.7.2; .Net 7; .Net 6; |
简述 | A library of log function.(一款用于日志的类库) |
1.1 引用类库
引用类库 | 版本 |
---|---|
- | - |
1.2 相关类库
| 相关类库 | 说明 | | ---------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | | JCoder.Db4Net | 一款为方便使用数据库的操作类库。 | | JCoder.Db4Net.Sqlite | 一个基于JCoder.Db4Net且支持Sqlite的库。 | | JCoder.Db4Net.MySql | 一个基于JCoder.Db4Net且支持Mysql的库。 | | JCoder.Db4Net.SqlServer | 一个基于JCoder.Db4Net且支持SqlServer的库 。 | | JCoder.Mock4Net | 一款简易版的用于模拟数据的功能库。 | | JCoder.Log4Net | 一款用于日志记录的类库。 | | JCoder.Log4Net.Sqlite | 一款使用Sqlite进行日志记录的类库。 | | JCoder.Ioc4Net | 一款简易款的Ioc操作类库。 | | JCoder.Extension | A simple library for C# extension.(一款简易的用于c#的扩展库。) |
获取方式
- 版本要求:>=2.1.1
- 以版本2.1.1为例
获取方式 | 描述 |
---|---|
Package Manager | Install-Package JCore.Log4Net -Version 2.1.1 |
.Net CLI | dotnet add package JCore.Log4Net --version 2.1.1 |
PackageReference | <PackageReference Include="JCore.Log4Net" Version="2.1.1" /> |
Paket CLI | paket add JCore.Log4Net --version 2.1.1 |
Script&Interactive | #r "nuget: JCore.Log4Net, 2.1.1" |
Cake | // Install JCore.Log4Net as a Cake Addin<br/>#addin nuget:?package=JCore.Log4Net&version=2.1.1<br/><br/>// Install JCore.Log4Net as a Cake Tool<br/>#tool nuget:?package=JCore.Log4Net&version=2.1.1 |
使用说明
主要类与接口
名称 | 类型 | 描述 |
---|---|---|
ILogger | 接口 | 用于日志信息的处理实例,包含Writer、Reader、Cleaner。 |
ILogWriter | 接口 | 用于日志信息的保存。 |
ILogReader | 接口 | 用于日志信息的读取。 |
ILogCleaner | 接口 | 用于日志信息的清理。 |
LogHub | 类 | 日志信息的仓管处理类。 |
Log | 实例 | 日志信息的全局中枢实例。 |
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 is compatible. 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 is compatible. 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 is compatible. 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 | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.1 is compatible. |
.NET Framework | net472 is compatible. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | 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.
-
.NETFramework 4.7.2
- JCoder.Text4Net (>= 2.5.1)
-
.NETStandard 2.1
- JCoder.Text4Net (>= 2.5.1)
-
net6.0
- JCoder.Text4Net (>= 2.5.1)
-
net7.0
- JCoder.Text4Net (>= 2.5.1)
-
net8.0
- JCoder.Text4Net (>= 2.5.1)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on JCoder.Log4Net:
Package | Downloads |
---|---|
JCoder.Log4Net.Sqlite
A simple log message library by sqlite and it base on JCoder.Log4Net.(一款基于JCoder.Log4Net的用Sqlite记录信息的简易类库) |
GitHub repositories
This package is not used by any popular GitHub repositories.
Please contact Jackie by QQ 1378071853 or E-mail JackieLaw-dev@outlook.com;