{"id":21315402,"url":"https://github.com/j0nimost/entrylog.extensions.logging","last_synced_at":"2025-10-27T09:50:55.910Z","repository":{"id":47742353,"uuid":"395752254","full_name":"j0nimost/EntryLog.Extensions.Logging","owner":"j0nimost","description":"Utilizes Microsoft.Extensions.Logging Library to create a seamless File Logger","archived":false,"fork":false,"pushed_at":"2021-08-15T16:22:10.000Z","size":18,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-15T08:34:26.580Z","etag":null,"topics":["extensions","logging"],"latest_commit_sha":null,"homepage":"","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/j0nimost.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-08-13T18:19:08.000Z","updated_at":"2022-01-19T04:59:09.000Z","dependencies_parsed_at":"2022-08-23T04:31:05.117Z","dependency_job_id":null,"html_url":"https://github.com/j0nimost/EntryLog.Extensions.Logging","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/j0nimost%2FEntryLog.Extensions.Logging","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/j0nimost%2FEntryLog.Extensions.Logging/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/j0nimost%2FEntryLog.Extensions.Logging/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/j0nimost%2FEntryLog.Extensions.Logging/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/j0nimost","download_url":"https://codeload.github.com/j0nimost/EntryLog.Extensions.Logging/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243791598,"owners_count":20348480,"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","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":["extensions","logging"],"created_at":"2024-11-21T18:19:50.717Z","updated_at":"2025-10-27T09:50:55.845Z","avatar_url":"https://github.com/j0nimost.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"## EntryLog.Extensions.Logging\nAn Extension Library for `Microsoft.Extensions.Logging` using the default implementation of [EntryLog Lib](https://github.com/j0nimost/EntryLog). \\\nDownload the latest version using `Install-Package EntryLog.Extensions.Logging`. \\\nElse choose a specific version [here](https://www.nuget.org/packages/EntryLog.Extensions.Logging)\n\n### Implementation\nThe library comes in handy when writing logs from the robust `ILogger` library.\n\n- Implementation is done in the `Program.cs` like so:\n```c#\nstatic IHostBuilder CreateHostBuilder(string[] args) =\u003e\n            Host.CreateDefaultBuilder(args)\n                .ConfigureLogging(builder =\u003e\n                    builder.AddEntryLog(config =\u003e\n                    {\n                        config.FolderPath = new Uri(@\"C:\\logTests\\entrlogExtension\");\n                        config.LogInterval = LogInterval.EveryMinute;\n                    }));\n```\n\n- To remove default logging extensions i.e Console use `builder.ClearProviders()`. \\\nSo the implementation changes to:\n\n```c#\nHost.CreateDefaultBuilder(args)\n                .ConfigureLogging(builder =\u003e\n                    builder.ClearProviders().AddEntryLog()\n```\n### DefaultS\nThere are 2 default values set:\n- Logging Folder Path : Directory Where the service is running\n- Logging Interval : Every hour \n\n\n#### Note:\nThe DEFAULT values can be changed as shown in the implementation. \\\nThere are 3 logging levels supported:\n- LogInformation\n- LogWarning\n- LogError\n\n### .Net Support\n2.1, 2.2, 3.0, 3.1, 5.0\n\n\n### Author\nJohn Nyingi\n\n### Contributions\nFeel Free to Hack ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fj0nimost%2Fentrylog.extensions.logging","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fj0nimost%2Fentrylog.extensions.logging","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fj0nimost%2Fentrylog.extensions.logging/lists"}