{"id":18937417,"url":"https://github.com/verifytests/verify.zerolog","last_synced_at":"2025-04-15T18:32:00.555Z","repository":{"id":65662781,"uuid":"595038738","full_name":"VerifyTests/Verify.ZeroLog","owner":"VerifyTests","description":"Extends Verify to allow verification of ZeroLog bits.","archived":false,"fork":false,"pushed_at":"2025-04-09T00:44:59.000Z","size":351,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-12T19:51:30.762Z","etag":null,"topics":[],"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/VerifyTests.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"license.txt","code_of_conduct":"code_of_conduct.md","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},"funding":{"github":"VerifyTests"}},"created_at":"2023-01-30T09:11:12.000Z","updated_at":"2025-04-09T00:43:16.000Z","dependencies_parsed_at":"2024-04-17T14:46:26.142Z","dependency_job_id":"cc767879-46a2-4ff9-a5cb-05adcecda090","html_url":"https://github.com/VerifyTests/Verify.ZeroLog","commit_stats":{"total_commits":36,"total_committers":2,"mean_commits":18.0,"dds":0.05555555555555558,"last_synced_commit":"8d7829b8c16e1b90f4c4e2fe2e54bf3ff4cbf844"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VerifyTests%2FVerify.ZeroLog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VerifyTests%2FVerify.ZeroLog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VerifyTests%2FVerify.ZeroLog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VerifyTests%2FVerify.ZeroLog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/VerifyTests","download_url":"https://codeload.github.com/VerifyTests/Verify.ZeroLog/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249129225,"owners_count":21217308,"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":[],"created_at":"2024-11-08T12:11:06.322Z","updated_at":"2025-04-15T18:31:55.544Z","avatar_url":"https://github.com/VerifyTests.png","language":"C#","funding_links":["https://github.com/sponsors/VerifyTests"],"categories":[],"sub_categories":[],"readme":"# \u003cimg src=\"/src/icon.png\" height=\"30px\"\u003e Verify.ZeroLog\n\n[![Discussions](https://img.shields.io/badge/Verify-Discussions-yellow?svg=true\u0026label=)](https://github.com/orgs/VerifyTests/discussions)\n[![Build status](https://ci.appveyor.com/api/projects/status/3oa1pc52a38ncma6?svg=true)](https://ci.appveyor.com/project/SimonCropp/verify-zerolog)\n[![NuGet Status](https://img.shields.io/nuget/v/Verify.ZeroLog.svg)](https://www.nuget.org/packages/Verify.ZeroLog/)\n\nExtends [Verify](https://github.com/VerifyTests/Verify) to allow verification of [ZeroLog](https://github.com/Abc-Arbitrage/ZeroLog) bits.\n\n\n**See [Milestones](../../milestones?state=closed) for release notes.**\n\n\n## NuGet package\n\nhttps://nuget.org/packages/Verify.ZeroLog/\n\n\n## Usage\n\n\u003c!-- snippet: Enable --\u003e\n\u003ca id='snippet-Enable'\u003e\u003c/a\u003e\n```cs\n[ModuleInitializer]\npublic static void Initialize() =\u003e\n    VerifyZeroLog.Initialize();\n```\n\u003csup\u003e\u003ca href='/src/Tests/ModuleInitializer.cs#L3-L9' title='Snippet source file'\u003esnippet source\u003c/a\u003e | \u003ca href='#snippet-Enable' title='Start of snippet'\u003eanchor\u003c/a\u003e\u003c/sup\u003e\n\u003c!-- endSnippet --\u003e\n\n\u003c!-- snippet: Usage --\u003e\n\u003ca id='snippet-Usage'\u003e\u003c/a\u003e\n```cs\n[Fact]\npublic Task Usage()\n{\n    Recording.Start();\n    var result = Method();\n\n    return Verify(result);\n}\n\nstatic string Method()\n{\n    var logger = LogManager.GetLogger\u003cTests\u003e();\n    logger.Error(\"The error\");\n    logger.Warn(\"The warning\");\n    return \"Result\";\n}\n```\n\u003csup\u003e\u003ca href='/src/Tests/Tests.cs#L3-L22' title='Snippet source file'\u003esnippet source\u003c/a\u003e | \u003ca href='#snippet-Usage' title='Start of snippet'\u003eanchor\u003c/a\u003e\u003c/sup\u003e\n\u003c!-- endSnippet --\u003e\n\nResults in:\n\n\u003c!-- snippet: Tests.Usage.verified.txt --\u003e\n\u003ca id='snippet-Tests.Usage.verified.txt'\u003e\u003c/a\u003e\n```txt\n{\n  target: Result,\n  log: [\n    {\n      Error: The error,\n      Logger: Tests\n    },\n    {\n      Warn: The warning,\n      Logger: Tests\n    }\n  ]\n}\n```\n\u003csup\u003e\u003ca href='/src/Tests/Tests.Usage.verified.txt#L1-L13' title='Snippet source file'\u003esnippet source\u003c/a\u003e | \u003ca href='#snippet-Tests.Usage.verified.txt' title='Start of snippet'\u003eanchor\u003c/a\u003e\u003c/sup\u003e\n\u003c!-- endSnippet --\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fverifytests%2Fverify.zerolog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fverifytests%2Fverify.zerolog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fverifytests%2Fverify.zerolog/lists"}