SimpleLogger_dlgcy NuGet Package

简易日志组件(A simple logging component)。

特色功能:
(1)免配置使用;
(2)便捷配置:指定路径、前缀、单条最大长度、保留天数;
(3)按日期分文件、自动记录时间、连续重复内容仅计数。

使用方法:
(1)LogHelper.Write("内容");
(2)Console.Write 重定向到日志(在构造器里加上:Console.SetOut(new ConsoleWriter()); ).




Got any SimpleLogger_dlgcy Question?





Info

Version: 1.0.11
Author(s): 独立观察员(dlgcy)
Last Update: Thursday, March 3, 2022
.NET Fiddle: Create the first Fiddle
Project Url: http://dlgcy.com/simple-logger/
NuGet Url: https://www.nuget.org/packages/SimpleLogger_dlgcy


Install
Install-Package SimpleLogger_dlgcy
dotnet add package SimpleLogger_dlgcy
paket add SimpleLogger_dlgcy
SimpleLogger_dlgcy Download (Unzip the "nupkg" after downloading)

.NETFramework 4.5 .NETStandard 2.0
  • No dependencies.


Tags



STATS

must-have-score

.3

avg-downloads-per-day

2

days-since-last-release

793