{"id":22863532,"url":"https://github.com/grackleclub/log","last_synced_at":"2026-03-16T17:36:36.273Z","repository":{"id":255438686,"uuid":"850432434","full_name":"grackleclub/log","owner":"grackleclub","description":"simple wrapper for go log/slog","archived":false,"fork":false,"pushed_at":"2025-03-09T01:53:20.000Z","size":35,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-31T09:33:33.372Z","etag":null,"topics":["go","log","logging"],"latest_commit_sha":null,"homepage":"","language":"Go","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/grackleclub.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":"2024-08-31T18:49:34.000Z","updated_at":"2025-03-09T01:53:02.000Z","dependencies_parsed_at":"2025-02-06T13:44:50.423Z","dependency_job_id":"b3eb01fc-b49e-4223-a5b6-58e2a0f34d5c","html_url":"https://github.com/grackleclub/log","commit_stats":null,"previous_names":["ddbgio/log","grackleclub/log"],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grackleclub%2Flog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grackleclub%2Flog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grackleclub%2Flog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grackleclub%2Flog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/grackleclub","download_url":"https://codeload.github.com/grackleclub/log/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252866009,"owners_count":21816374,"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":["go","log","logging"],"created_at":"2024-12-13T11:16:22.075Z","updated_at":"2026-03-16T17:36:36.267Z","avatar_url":"https://github.com/grackleclub.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# log\nsimple structured log wrapper for go, with tint by [lmittmann/tint](https://github.com/lmittmann/tint) 🌈\n\n![badge](https://github.com/ddbgio/log/actions/workflows/test.yml/badge.svg)\n\n## examples\n```go\nimport logger \"github.com/grackleclub/log\"\n\nvar log *slog.Logger // a global logger can be set\n\n// If empty handler options are provided, the DEBUG\n// env var will determine log level and source info.\n_ := os.Setenv(\"DEBUG\", \"1\")\n\n// No color env var is always respected,\n// but no effort is made to autodetect.\n_ := os.Unsetenv(\"NO_COLOR\")\n\nlog, _ = logger.New(slog.HandlerOptions{})\n\n// Because this is regular slog, you can use log.With\n// or attrs or any other slog features.\nlog = log.With(\"service\", \"cool_service\")\n\n\nlog.Info(\"logging initialized\", \"msg\", \"hello world\")\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrackleclub%2Flog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgrackleclub%2Flog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrackleclub%2Flog/lists"}