SimpleLogger_dlgcy 1.0.11

dotnet add package SimpleLogger_dlgcy --version 1.0.11                
NuGet\Install-Package SimpleLogger_dlgcy -Version 1.0.11                
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="SimpleLogger_dlgcy" Version="1.0.11" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SimpleLogger_dlgcy --version 1.0.11                
#r "nuget: SimpleLogger_dlgcy, 1.0.11"                
#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 SimpleLogger_dlgcy as a Cake Addin
#addin nuget:?package=SimpleLogger_dlgcy&version=1.0.11

// Install SimpleLogger_dlgcy as a Cake Tool
#tool nuget:?package=SimpleLogger_dlgcy&version=1.0.11                

SimpleLogger

介绍

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

特色功能:

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

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

打包方法: 官方文档

上传方法: (1)使用上传指令。 (2)在 NuGet 官网个人页面的包管理中可直接上传。

Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  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 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 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.
  • .NETStandard 2.0

    • No dependencies.
  • net5.0

    • No dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on SimpleLogger_dlgcy:

Package Downloads
WPFTemplateLib

WPF 帮助类库,包含但不限于以下内容: 01、MVVM 基础支持类(命令:RelayCommand;绑定:ObservableObject、SimpleBindableBase、NotifyDataErrorObject、ViewModelBase)。 02、WPF 帮助类(BindingProxy、ResourceBinding、MediaColorHelper、FrameworkElementHelper、ConverterHelper 等)。 03、附加属性帮助类(WpfXamlPropProxy、BringIntoViewBehavior、ExportPicAttached、WpfTouchScrollHelper、GridHelper、FocusAttached、DataGridAttached、 TextBoxAttached、LabelAttached、RadioButtonAttached、RotateToTranslateAttachedV2、LocationTargetRenderOriginAttached、TabControlAttached 等)。 04、行为类(DragInCanvasBehavior、SelectedItemBehavior、AttachAdornerBehavior 等)。 05、样式(<ResourceDictionary Source="pack://application:,,,/WPFTemplateLib;component/Styles/StyleDictionary.xaml" />); 默认主题(不引入则不设置默认样式)(<ResourceDictionary Source="pack://application:,,,/WPFTemplateLib;component/Styles/DefaultThemeDictionary.xaml" />); 颜色主题(部分控件有效):[默认]蓝色(*/Light.Blue.xaml)、绿色(<ResourceDictionary Source="pack://application:,,,/WPFTemplateLib;component/Themes/Light.Green.xaml" />)。 06、转换器("<ResourceDictionary Source="pack://application:,,,/WPFTemplateLib;component/WpfConverters/ConverterDictionary.xaml" />) 07、配置属性系统(ConfigManager)。 08、自定义控件(Toast、ToastTextBlock、SystemDropShadowChrome、XUI:Form、PanelWithMessage、CircleWithInOutText、PP:CornerClip、FlipableControl、 FlipableContentControl、Handy:UniformSpacingPanel、PP:DateTimePicker、PP:SimplePanel 等)。 09、用户控件(UC_InfoRegion、CircleWithTextBox、UC_Wait、UC_ConfirmBox 等)。 10、类型转换器(EnumDescriptionTypeConverter)。 11、在行为中使用的事件触发器(RoutedEventTrigger)。 12、增强类(FixedCountObservableCollection、RangeObservableCollection 等)。 13、一个常用值类 CommonValues(目前有两个布尔值:TrueValue、FalseValue)。 基础说明: - Xaml 命名空间:xmlns:lib="https://gitee.com/dlgcy/WPFTemplateLib" 。 - 样式以"LibSty"开头,控件模版以"LibTpl"开头。 - 转换器列表:https://gitee.com/dlgcy/WPFTemplateLib/blob/master/WpfConverters/ConverterDictionary.xaml - 默认主题的内容:https://gitee.com/dlgcy/WPFTemplateLib/blob/master/Styles/DefaultThemeDictionary.xaml 使用方法详见: 1、https://gitee.com/dlgcy/DLGCY_WPFPractice 2、https://gitee.com/dlgcy/WPFTemplate 3、https://dlgcy.com 4、https://gitee.com/dlgcy/WpfAnimationDemo 大部分是搬运修改网上的资源,少部分是自己原创,以自用为主,感兴趣的朋友也可以使用,欢迎交流讨论(微信公众号:独立观察员博客)。 免责声明:本库及维护者不对使用产生的任何问题负责,请自行充分测试。 严正声明:禁止在 996 以及相似类型的公司中使用本库。 *********************************************** 更新内容: 1、[增强] Toast 新增 ToastToScreenWarning 便捷方法。 2、[增强] RelayCommand 添加支持不带参数的执行方法构造。 3、[新增] 可勾选项类 CheckableItem。 4、[新增] 基础树节点类(BaseTreeNode)、可勾选的树节点类(CheckableTreeNode)、可勾选的树节点类(泛型版)(CheckableTreeNode{T},未验证)。 5、[新增] 从 Prism.Wpf 源码 中拷贝 CollectionExtensions.AddRange 方法。 ***********************************************

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.11 1,296 3/3/2022
1.0.10 1,202 7/9/2020
1.0.9 452 7/7/2020
1.0.7 487 7/6/2020

更新依赖框架 net4.5 为 net5,以支持新框架,旧的由 netstandard2.0 支持。