CodeWF.LogViewer.Avalonia 11.3.9.8

dotnet add package CodeWF.LogViewer.Avalonia --version 11.3.9.8
                    
NuGet\Install-Package CodeWF.LogViewer.Avalonia -Version 11.3.9.8
                    
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="CodeWF.LogViewer.Avalonia" Version="11.3.9.8" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="CodeWF.LogViewer.Avalonia" Version="11.3.9.8" />
                    
Directory.Packages.props
<PackageReference Include="CodeWF.LogViewer.Avalonia" />
                    
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 CodeWF.LogViewer.Avalonia --version 11.3.9.8
                    
#r "nuget: CodeWF.LogViewer.Avalonia, 11.3.9.8"
                    
#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 CodeWF.LogViewer.Avalonia@11.3.9.8
                    
#: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=CodeWF.LogViewer.Avalonia&version=11.3.9.8
                    
Install as a Cake Addin
#tool nuget:?package=CodeWF.LogViewer.Avalonia&version=11.3.9.8
                    
Install as a Cake Tool

CodeWF.LogViewer.Avalonia

NuGet NuGet License

简单封装一些日志控件

CodeWF.LogViewer.Avalonia

AvaloniaUI中使用的SelectableTextBlock做为日志展示控件,NuGet包安装:

Install-Package CodeWF.LogViewer.Avalonia

.axaml使用:

xmlns:log="https://codewf.com"
<log:LogView /> 

代码中添加日志

Logger.Debug("调试日志");
Logger.Info("普通日志");
Logger.Warn("警告日志");
Logger.Error("错误日志");
Logger.Fatal("严重错误日志");

alternate text is missing from this package README image

CodeWF.LogViewer.Avalonia.Log4Net

AvaloniaUI中使用的SelectableTextBlock做为日志展示控件,NuGet包安装:

Install-Package CodeWF.LogViewer.Avalonia.Log4Net

.axaml使用:

xmlns:log="https://codewf.com"
<log:LogView /> 

代码中添加日志

LogFactory.Instance.Log.Debug("调试日志");
LogFactory.Instance.Log.Info("普通日志");
LogFactory..Instance.Log.Warn("警告日志");
LogFactory.Instance.Log.Error("错误日志");
LogFactory.Instance.Log.Fatal("严重错误日志");

alternate text is missing from this package README image

更新日志

V1.0.11.3(2025-09-15)

  1. 🐛[修复]-修复自定义日志目录打开异常问题

TODO

  1. 日志较多有性能问题,待优化
Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
11.3.9.8 37 12/15/2025
11.3.9.7 70 12/12/2025
11.3.9.4 102 11/29/2025
11.3.9.2 178 11/25/2025
11.3.9.1 152 11/23/2025
11.3.9 195 11/22/2025
1.1.0.1 272 11/12/2025
1.1.0 195 10/23/2025
1.0.11.5 169 10/14/2025
1.0.11.4 529 9/16/2025
1.0.11.3 225 9/15/2025
1.0.11.2 198 9/4/2025
1.0.11.1 199 8/4/2025
1.0.11 206 7/10/2025
1.0.10.3 166 7/4/2025
1.0.10.2 177 7/3/2025
1.0.10.1 183 7/2/2025
1.0.10 172 7/1/2025
1.0.9.1 202 6/19/2025
1.0.9 180 6/18/2025
1.0.8 174 6/16/2025
1.0.7.1 215 3/27/2025
1.0.7 154 3/3/2025
1.0.6 153 2/26/2025
1.0.5.7 139 1/14/2025
1.0.5.6 170 12/4/2024
1.0.5.5 164 11/13/2024
1.0.5.4 169 10/12/2024
1.0.5.3 158 9/22/2024
1.0.5.2 157 9/18/2024
1.0.5.1 145 9/18/2024
1.0.5 154 9/13/2024
1.0.4 163 9/13/2024