{"id":34839009,"url":"https://github.com/infiniteloopcloud/log","last_synced_at":"2026-05-23T11:38:53.317Z","repository":{"id":43272082,"uuid":"456105431","full_name":"infiniteloopcloud/log","owner":"infiniteloopcloud","description":"Yet another log package","archived":false,"fork":false,"pushed_at":"2023-05-30T08:02:31.000Z","size":22,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2023-07-27T22:13:36.590Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/infiniteloopcloud.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}},"created_at":"2022-02-06T09:22:33.000Z","updated_at":"2023-01-31T19:31:43.000Z","dependencies_parsed_at":"2023-02-18T09:00:25.652Z","dependency_job_id":null,"html_url":"https://github.com/infiniteloopcloud/log","commit_stats":null,"previous_names":[],"tags_count":4,"template":null,"template_full_name":null,"purl":"pkg:github/infiniteloopcloud/log","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/infiniteloopcloud%2Flog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/infiniteloopcloud%2Flog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/infiniteloopcloud%2Flog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/infiniteloopcloud%2Flog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/infiniteloopcloud","download_url":"https://codeload.github.com/infiniteloopcloud/log/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/infiniteloopcloud%2Flog/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33394668,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-23T04:15:53.637Z","status":"ssl_error","status_checked_at":"2026-05-23T04:15:53.242Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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-12-25T16:58:25.390Z","updated_at":"2026-05-23T11:38:53.312Z","avatar_url":"https://github.com/infiniteloopcloud.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Log\n\n### Usage\n\n```go\npackage main\n\nimport (\n\t\"context\"\n\t\"errors\"\n\t\"fmt\"\n\n\t\"github.com/infiniteloopcloud/log\"\n)\n\nconst (\n\tCorrelationID log.ContextField = \"correlation_id\"\n)\n\nfunc main() {\n\t// Set this globally\n\tlog.SetLevel(log.LevelToUint())\n\tlog.SetLoggableFields([]fmt.Stringer{CorrelationID})\n\t \n\tctx := context.Background()\n\tctx = context.WithValue(ctx, CorrelationID, \"123456\")\n\tlog.Error(ctx, errors.New(\"\"), \"\")\n\tlog.Errorf(ctx, errors.New(\"\"), \"test: %s\", \"test\")\n\tlog.Warn(ctx, \"\")\n\tlog.Info(ctx, \"\")\n\tlog.Debug(ctx, \"\")\n\t// etc...\n}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finfiniteloopcloud%2Flog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finfiniteloopcloud%2Flog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finfiniteloopcloud%2Flog/lists"}