{"id":23062200,"url":"https://github.com/dotnet9/codewf.logviewer","last_synced_at":"2025-08-19T13:11:04.088Z","repository":{"id":246885726,"uuid":"824443783","full_name":"dotnet9/CodeWF.LogViewer","owner":"dotnet9","description":null,"archived":false,"fork":false,"pushed_at":"2025-07-10T02:35:27.000Z","size":1037,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-12T00:54:03.389Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dotnet9.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-07-05T06:37:05.000Z","updated_at":"2025-07-10T02:35:31.000Z","dependencies_parsed_at":"2024-07-05T19:01:51.311Z","dependency_job_id":"5d56e007-8a67-4a9f-b490-6b9bc77dad17","html_url":"https://github.com/dotnet9/CodeWF.LogViewer","commit_stats":null,"previous_names":["dotnet9/codewf.logviewer"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dotnet9/CodeWF.LogViewer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotnet9%2FCodeWF.LogViewer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotnet9%2FCodeWF.LogViewer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotnet9%2FCodeWF.LogViewer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotnet9%2FCodeWF.LogViewer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dotnet9","download_url":"https://codeload.github.com/dotnet9/CodeWF.LogViewer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotnet9%2FCodeWF.LogViewer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271158528,"owners_count":24709083,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-19T02:00:09.176Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-16T03:25:04.025Z","updated_at":"2025-08-19T13:11:04.053Z","avatar_url":"https://github.com/dotnet9.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"﻿# CodeWF.LogViewer\n\n简单封装一些日志控件\n\n## CodeWF.LogViewer.Avalonia\n\nAvaloniaUI中使用的SelectableTextBlock做为日志展示控件，NuGet包安装：\n\n```shell\nInstall-Package CodeWF.LogViewer.Avalonia\n```\n\n`.axaml`使用：\n\n```html\nxmlns:log=\"https://codewf.com\"\n```\n\n```html\n\u003clog:LogView /\u003e \n```\n\n代码中添加日志\n\n```csharp\nLogger.Debug(\"调试日志\");\nLogger.Info(\"普通日志\");\nLogger.Warn(\"警告日志\");\nLogger.Error(\"错误日志\");\nLogger.Fatal(\"严重错误日志\");\n```\n\n![](doc\\imgs\\log.gif)\n\n## CodeWF.LogViewer.Avalonia.Log4Net\n\nAvaloniaUI中使用的SelectableTextBlock做为日志展示控件，NuGet包安装：\n\n```shell\nInstall-Package CodeWF.LogViewer.Avalonia.Log4Net\n```\n\n`.axaml`使用：\n\n```html\nxmlns:log=\"https://codewf.com\"\n```\n\n```html\n\u003clog:LogView /\u003e \n```\n\n代码中添加日志\n\n```csharp\nLogFactory.Instance.Log.Debug(\"调试日志\");\nLogFactory.Instance.Log.Info(\"普通日志\");\nLogFactory..Instance.Log.Warn(\"警告日志\");\nLogFactory.Instance.Log.Error(\"错误日志\");\nLogFactory.Instance.Log.Fatal(\"严重错误日志\");\n```\n\n![](doc\\imgs\\log.gif)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdotnet9%2Fcodewf.logviewer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdotnet9%2Fcodewf.logviewer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdotnet9%2Fcodewf.logviewer/lists"}