{"id":21339017,"url":"https://github.com/followmetech/fm.logs","last_synced_at":"2025-09-25T14:26:51.117Z","repository":{"id":87226503,"uuid":"161274055","full_name":"FollowmeTech/FM.Logs","owner":"FollowmeTech","description":"An extension Microsoft.Extensions.Logging","archived":false,"fork":false,"pushed_at":"2019-05-19T17:02:15.000Z","size":16,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-06-03T03:49:44.076Z","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/FollowmeTech.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":"2018-12-11T03:50:48.000Z","updated_at":"2019-05-19T17:02:16.000Z","dependencies_parsed_at":"2023-03-05T10:15:37.601Z","dependency_job_id":null,"html_url":"https://github.com/FollowmeTech/FM.Logs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/FollowmeTech/FM.Logs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FollowmeTech%2FFM.Logs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FollowmeTech%2FFM.Logs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FollowmeTech%2FFM.Logs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FollowmeTech%2FFM.Logs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FollowmeTech","download_url":"https://codeload.github.com/FollowmeTech/FM.Logs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FollowmeTech%2FFM.Logs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":276931572,"owners_count":25730624,"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-09-25T02:00:09.612Z","response_time":80,"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-11-22T00:41:48.306Z","updated_at":"2025-09-25T14:26:51.098Z","avatar_url":"https://github.com/FollowmeTech.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FM.Logs\nAn extension Microsoft.Extensions.Logging\n\n[所有系统的对接总标准](https://github.com/FollowmeTech/FM.Logs/wiki/%E6%9C%8D%E5%8A%A1%E6%97%A5%E5%BF%97%E5%8F%8A%E8%B0%83%E7%94%A8%E6%97%A5%E5%BF%97%E8%A7%84%E8%8C%83)\n\n### 统一的log4net.config\n[统一的log4net.config](https://github.com/FollowmeTech/FM.Logs/blob/master/Samples/TestLog4NetProvider/log4net.config)\n\n##  关键点是用log4net里面的loggername来区分,具体看sample代码\n\n### 业务log使用方式\n```csharp\nvar logger = loggerFactory.CreateLogger(typeof(Program));\nlogger.LogInformation(\"hello world\");\n```\n\n### grpc accesss log使用方式\n```csharp\nvar accesslog = loggerFactory.CreateLogger(\"grpc.access\");\naccesslog.LogDebug(\"grpc access log\");\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffollowmetech%2Ffm.logs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffollowmetech%2Ffm.logs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffollowmetech%2Ffm.logs/lists"}