{"id":15890588,"url":"https://github.com/dimfeld/spacelog-levelstring","last_synced_at":"2025-04-02T17:22:03.943Z","repository":{"id":80575734,"uuid":"52410987","full_name":"dimfeld/spacelog-levelstring","owner":"dimfeld","description":"Log level configuration of spacemonkeygo/spacelog from a string","archived":false,"fork":false,"pushed_at":"2016-02-24T05:48:15.000Z","size":5,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-08T08:09:57.735Z","etag":null,"topics":[],"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/dimfeld.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":"2016-02-24T03:21:44.000Z","updated_at":"2016-06-24T23:04:51.000Z","dependencies_parsed_at":"2023-05-07T09:31:10.498Z","dependency_job_id":null,"html_url":"https://github.com/dimfeld/spacelog-levelstring","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimfeld%2Fspacelog-levelstring","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimfeld%2Fspacelog-levelstring/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimfeld%2Fspacelog-levelstring/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimfeld%2Fspacelog-levelstring/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dimfeld","download_url":"https://codeload.github.com/dimfeld/spacelog-levelstring/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246856799,"owners_count":20845020,"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-10-06T07:06:53.105Z","updated_at":"2025-04-02T17:22:03.923Z","avatar_url":"https://github.com/dimfeld.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"This package contains a convenience function that takes a comma-separated\nglob-style string and uses `spacelog.SetLevel` to set the log level\non all the matching loggers.\n\nThis is designed so that you can easily enable certain debug levels using\nmethods such as an environment variable or an HTTP endpoint.\n\n\n```go\n// From some variable\nconfig := \"incoming*,core*\"\nlevelstring.Configure(config, spacelog.Debug)\n// Or straight from the environment\nlevelstring.Configure(os.Getenv(\"DEBUG\"), spacelog.Debug)\n```\n\nSee http://godoc.org/github.com/dimfeld/spacelog-levelstring for more examples.\n\n### Limitations\n\nCalls to `Configure` only affect logger names that exist at the time of the call. New\nloggers created afterward will use the logger collection's default level.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdimfeld%2Fspacelog-levelstring","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdimfeld%2Fspacelog-levelstring","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdimfeld%2Fspacelog-levelstring/lists"}