CL_Logger.Core 1.0.0

dotnet add package CL_Logger.Core --version 1.0.0
                    
NuGet\Install-Package CL_Logger.Core -Version 1.0.0
                    
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="CL_Logger.Core" Version="1.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="CL_Logger.Core" Version="1.0.0" />
                    
Directory.Packages.props
<PackageReference Include="CL_Logger.Core" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add CL_Logger.Core --version 1.0.0
                    
#r "nuget: CL_Logger.Core, 1.0.0"
                    
#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.
#:package CL_Logger.Core@1.0.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=CL_Logger.Core&version=1.0.0
                    
Install as a Cake Addin
#tool nuget:?package=CL_Logger.Core&version=1.0.0
                    
Install as a Cake Tool

引用后无需任何配置可直接使用log4net日志文件。

使用方法: Logger.Debug("生成Debug级别日志。");

扩展配置: 假设执行文件为a.exe 优先找配置文件:a_log4net.config,log4net.config。若找到配置文件,则应用配置文件。 若没有配置文件,则生成a.exe_Log.txt

日志输出: 时间 级别 [项目.类] - 填写的内容

2023-05-06 15:58:30,718[1] DEBUG [CS_XXXX.Form1] - Form1_Load() 2023-05-06 15:58:30,718[1] DEBUG [CS_XXXX.Form1] - 生成Debug级别日志。 2023-05-06 15:58:30,735[1] DEBUG [CS_XXXX.Form1] - Form1_Load()完成。

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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.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 net40 is compatible.  net403 was computed.  net45 was computed.  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 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 (3)

Showing the top 3 NuGet packages that depend on CL_Logger.Core:

Package Downloads
CL_Unit_Office.Core

本程序集为静态工具类。用作对Excel,Word的导入导出

CL_Unit.Core

Package Description

CL_MyLogZip.Core

SharpZip类:压缩/解压文件及文件夹。 MyLogZip类: 定时周期性压缩文件夹。

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.0 442 8/23/2023