{"id":25014325,"url":"https://github.com/gregoryv/testlog","last_synced_at":"2025-10-05T01:09:26.639Z","repository":{"id":49314437,"uuid":"331649407","full_name":"gregoryv/testlog","owner":"gregoryv","description":"Provides ways to redirect log output during testing","archived":false,"fork":false,"pushed_at":"2022-07-25T09:46:20.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-08-22T10:41:13.658Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gregoryv.png","metadata":{"files":{"readme":"README.md","changelog":"changelog.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-01-21T14:15:36.000Z","updated_at":"2022-07-24T06:17:12.000Z","dependencies_parsed_at":"2022-09-01T10:21:30.906Z","dependency_job_id":null,"html_url":"https://github.com/gregoryv/testlog","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/gregoryv/testlog","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregoryv%2Ftestlog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregoryv%2Ftestlog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregoryv%2Ftestlog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregoryv%2Ftestlog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gregoryv","download_url":"https://codeload.github.com/gregoryv/testlog/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregoryv%2Ftestlog/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278396568,"owners_count":25979807,"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-10-04T02:00:05.491Z","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":"2025-02-05T07:19:06.428Z","updated_at":"2025-10-05T01:09:26.598Z","avatar_url":"https://github.com/gregoryv.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"Package testlog to catch logs while testing\n\n## Quick start\n\n    $ go get github.com/gregoryv/testlog\n\t\nin your code\n\n```go\nfunc TestYourthing(t *testing.T) {\n\tbuf := testlog.Catch(t) \n\t\n\t// do something\n\t\n\tgot := buf.String()\t\n\texp := \"some log phrase\"\n\tif !strings.Contains(got, exp) {\n\t\tt.Error(got, \" missing expected \", exp)\n\t}\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgregoryv%2Ftestlog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgregoryv%2Ftestlog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgregoryv%2Ftestlog/lists"}