{"id":22346061,"url":"https://github.com/benjaminabt/throwawaylogger","last_synced_at":"2025-07-13T05:35:35.516Z","repository":{"id":40687471,"uuid":"435262141","full_name":"BenjaminAbt/ThrowAwayLogger","owner":"BenjaminAbt","description":"A very simple ILogging mock mechanism.","archived":false,"fork":false,"pushed_at":"2023-11-20T12:13:42.000Z","size":25,"stargazers_count":1,"open_issues_count":4,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-31T11:49:49.857Z","etag":null,"topics":["benchmark","logging","unittests"],"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/BenjaminAbt.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":"2021-12-05T19:42:52.000Z","updated_at":"2023-02-26T15:43:19.000Z","dependencies_parsed_at":"2025-01-31T11:42:16.940Z","dependency_job_id":"32868bac-8253-419c-9e50-b3e2406faf89","html_url":"https://github.com/BenjaminAbt/ThrowAwayLogger","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BenjaminAbt%2FThrowAwayLogger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BenjaminAbt%2FThrowAwayLogger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BenjaminAbt%2FThrowAwayLogger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BenjaminAbt%2FThrowAwayLogger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BenjaminAbt","download_url":"https://codeload.github.com/BenjaminAbt/ThrowAwayLogger/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245633212,"owners_count":20647354,"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":["benchmark","logging","unittests"],"created_at":"2024-12-04T09:19:45.572Z","updated_at":"2025-03-26T10:23:20.207Z","avatar_url":"https://github.com/BenjaminAbt.png","language":"C#","readme":"# ThrowAwayLogger\n\n`ThrowAwayLogger` is an implementation of [`ILogger`](https://docs.microsoft.com/dotnet/core/extensions/custom-logging-provider?WT.mc_id=DT-MVP-5001507) as well as [`ILogger\u003cT\u003e`](https://docs.microsoft.com/dotnet/core/extensions/custom-logging-provider?WT.mc_id=DT-MVP-5001507) which does nothing. Really: nothing.\n\nVery handy for benchmarks or simple testing.\n\n## NuGet\n\n[BenjaminAbt.Extensions.Logger.ThrowAwayLogger](https://www.nuget.org/packages/BenjaminAbt.Extensions.Logger.ThrowAwayLogger/)\n\n## Sample\n\n```csharp\n// field\nprivate ILogger _log = new ThrowAwayLogger();\n\n// call\n_log.Log(LogLevel.Information, _ex, \"Test \" + _message);\n```\n\nNothing happens ¯\\_(ツ)_/¯\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenjaminabt%2Fthrowawaylogger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbenjaminabt%2Fthrowawaylogger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenjaminabt%2Fthrowawaylogger/lists"}