{"id":23331063,"url":"https://github.com/capsize-games/shadowlogger","last_synced_at":"2026-07-14T02:32:02.644Z","repository":{"id":235613330,"uuid":"790849284","full_name":"Capsize-Games/shadowlogger","owner":"Capsize-Games","description":null,"archived":false,"fork":false,"pushed_at":"2024-04-25T17:36:57.000Z","size":520,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-11-22T07:51:48.283Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Capsize-Games.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-04-23T16:34:37.000Z","updated_at":"2024-04-25T17:57:33.000Z","dependencies_parsed_at":"2024-12-20T22:30:34.702Z","dependency_job_id":"d7e7ad17-444a-43bc-ac9f-129cae0dec54","html_url":"https://github.com/Capsize-Games/shadowlogger","commit_stats":null,"previous_names":["capsize-games/shadowlogger"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/Capsize-Games/shadowlogger","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Capsize-Games%2Fshadowlogger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Capsize-Games%2Fshadowlogger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Capsize-Games%2Fshadowlogger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Capsize-Games%2Fshadowlogger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Capsize-Games","download_url":"https://codeload.github.com/Capsize-Games/shadowlogger/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Capsize-Games%2Fshadowlogger/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35443979,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-14T02:00:06.603Z","response_time":114,"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":"2024-12-20T22:30:28.052Z","updated_at":"2026-07-14T02:32:02.629Z","avatar_url":"https://github.com/Capsize-Games.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Shadowlogger\n\nSimple wrapper for built-in logger module which intercepts all logs and shadows them, preventing sensitive information from being leaked.\n\n---\n\n![img.png](img.png)\n\n[![Upload Python Package](https://github.com/Capsize-Games/shadowlogger/actions/workflows/python-publish.yml/badge.svg)](https://github.com/Capsize-Games/shadowlogger/actions/workflows/python-publish.yml)\n\n---\n\n## Installation\n\n```bash\npip install shadowlogger\n```\n\n---\n\n## Usage\n\n```python\nimport shadowlogger\n\n# Activate shadowlogger\nshadowlogger.manager.install()\n\n# Deactivate shadowlogger\nshadowlogger.manager.uninstall()\n```\n\nor \n\n```python\nfrom shadowlogger.shadowlogger import ShadowLogger\n\n\nclass MyCustomLogger(ShadowLogger):\n    # override these to customize the logger\n    prefix: str\n    name: str\n    message_format: str\n    log_level: int\n    \n    # override this to handle the formatted message\n    def handle_message(self, formatted_message: str, level_name: str):\n        pass\n```\n\n---\n\n## Testing\n\n```bash\npython -m unittest discover -s tests\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcapsize-games%2Fshadowlogger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcapsize-games%2Fshadowlogger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcapsize-games%2Fshadowlogger/lists"}